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.

enter image description here

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

enter image description here

Comments

Popular posts from this blog

Google Assistant Implementation in Android application with app actions