Flutter Debug mode
To remove the flutter debug banner, there are several possibilities :
1- The first one is to use the debugShowCheckModeBanner property in your MaterialApp widget.
Code :
MaterialApp(
debugShowCheckedModeBanner: false,
)
And then do a hot reload.
2-The second possibility is to hide the debug mode banner in Flutter Inspector if you use Android Studio or IntelliJ IDEA.
3- The third possibility is to use Dart DevTools.
But if you want to switch to release mode,
Use this command to run your app flutter run --release
or In Android Studio, click on :
>
Run>
Flutter Run 'main.dart' in Release Mode
Comments
Post a Comment