mirrored_repositories/SI-Pergudangan
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:get/get.dart';
import 'app/routes/app_pages.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      debugShowCheckedModeBanner: false,
      title: "SI Pergudangan",
      // aplikasi pertama kali akan dibuka pada halaman login
      initialRoute: Routes.LOGIN,
      getPages: AppPages.routes,
    );
  }
}
