runApplication function Null safety
Sets up application dependencies and runs the app.
Implementation
Future<void> runApplication() async {
WidgetsFlutterBinding.ensureInitialized();
await setupDependencies();
BlocOverrides.runZoned(
() {
runApp(App());
},
blocObserver: AppBlocObserver(logger: getIt()),
);
}