mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 14:44:55 +00:00
initial commit
This commit is contained in:
32
lib/main.dart
Normal file
32
lib/main.dart
Normal file
@ -0,0 +1,32 @@
|
||||
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', '')));
|
||||
}
|
||||
Reference in New Issue
Block a user