28 lines
776 B
Dart
28 lines
776 B
Dart
import 'package:allium_dry/firebase_options.dart';
|
|
import 'package:firebase_core/firebase_core.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'app/routes/app_pages.dart';
|
|
import 'package:intl/date_symbol_data_local.dart';
|
|
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
|
await initializeDateFormatting('id_ID', null);
|
|
runApp(MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetMaterialApp(
|
|
title: "Application",
|
|
debugShowCheckedModeBanner: false,
|
|
initialRoute: AppPages.INITIAL,
|
|
getPages: AppPages.routes,
|
|
);
|
|
}
|
|
}
|