File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import 'package:device_preview/device_preview.dart';
22import 'package:flutter/foundation.dart' ;
33import 'package:flutter/material.dart' ;
44import 'package:flutter_news_app_mobile_client_full_source_code/app/config/config.dart' ;
5- import 'package:flutter_news_app_mobile_client_full_source_code/app/services/splash_screen_remover/web_splash_remover.dart' ;
65import 'package:flutter_news_app_mobile_client_full_source_code/bootstrap.dart' ;
76
87// Define the current application environment (production/development/demo).
@@ -17,13 +16,6 @@ void main() async {
1716
1817 final appWidget = await bootstrap (appConfig, appEnvironment);
1918
20- // Only remove the splash screen on web after the app is ready.
21- if (kIsWeb) {
22- WidgetsBinding .instance.addPostFrameCallback ((_) {
23- removeSplashFromWeb ();
24- });
25- }
26-
2719 if (appConfig.environment == AppEnvironment .demo && kIsWeb) {
2820 runApp (
2921 DevicePreview (
You can’t perform that action at this time.
0 commit comments