import 'package:flutter/material.dart'; import 'my_app.dart'; void main() { // runZonedGuarded(() async { // const environment = // String.fromEnvironment('FLAVOR', defaultValue: 'production'); // await dotenv.load(fileName: '.env.$environment'); // // HttpOverrides.global = MyHttpOverrides(); // WidgetsFlutterBinding.ensureInitialized(); // // if (Platform.isAndroid) { // // await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true); // // } // LicenseRegistry.addLicense(() async* { // final license = // await rootBundle.loadString('assets/fonts/roboto/LICENSE.txt'); // yield LicenseEntryWithLineBreaks(['google_fonts'], license); // }); // initialSetup(); // await LocalizationService.saveLocale(const Locale("en", "AE")); // // final savedLocale = await LocalizationService.savedLocale(); // // runApp(const MyApp(Locale('en', ''))); // }, (error, stackTrace) { // FirebaseCrashlytics.instance.recordError(error, stackTrace, fatal: true); // }); runApp(const MyApp(Locale('en', ''))); }