I've started flutter app development. My question is, how can I remove the slow load banner in the flutter app. I've used the Material
widget (not MaterialApp) where it doesn't contain that debugShowCheckedModeBanner
property. Is there any possible way to get rid of that banner on my device screen?
How to remove slow mode tag in flutter app
5.7k views Asked by harsha20599 At
2
There are 2 answers
1
On
in the command line:
flutter run --release
if you want to debug and only hide the ribbon, set the debugShowCheckedModeBanner
property of Material Widget
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
home: new MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
Flutter App Shows Slow Mode When debugShowCheckedModeBanner is set to true which is by default true.
if want to remove the slow mode or debug banner from your app then you need to make the above function flash.
the reason for slow mode banner is that in debug mode app is running slowly.
complete code