webfactorymk / flutter-template

Flutter template project - Simple ToDo app with scalable project structure.
https://webfactory.mk/
MIT License
166 stars 36 forks source link

Splash screen #50

Open dvird opened 2 years ago

dvird commented 2 years ago

hi you are loading all the pre work of the app before the app loaded.

` await preAppConfig();

BlocOverrides.runZoned(() => runApp(App()), blocObserver: BlocEventsLogger());`

in case of no internet or another problem the user will be stuck on the splash screen without option to get out of it.

you can check this library which gives better docs and explanation on flutter splash https://pub.dev/packages/flutter_native_splash