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

SwiftUI - Tutorial 2 - 🧵 Understanding @MainActor in SwiftUI — A Beginner’s Guide

SonarQube With Angular 19 on Windows: A Complete Setup and Integration Guide

Setting Up Jenkins for Flutter App on macOS