fbmobile/lib/main.dart

20 lines
548 B
Dart
Raw Permalink Normal View History

2021-02-02 14:33:23 +00:00
import 'package:flutter/material.dart';
import 'package:flutter_translate/flutter_translate.dart';
import 'package:logger/logger.dart';
import 'app.dart';
import 'core/util/logger.dart';
import 'locator.dart';
/// main entry point used to configure log level, locales, ...
void main() async {
setupLogger(Level.info);
setupLocator();
2023-01-16 00:44:34 +00:00
var delegate = await LocalizationDelegate.create(
fallbackLocale: 'en', supportedLocales: ['en', 'en_US']);
2021-02-02 14:33:23 +00:00
WidgetsFlutterBinding.ensureInitialized();
2021-02-02 14:33:23 +00:00
runApp(LocalizedApp(delegate, MyApp()));
}