How to remove the Flutter debug banner?

 

The debug banner only appears during development and is automatically removed in the release version.

To hide this there is a need to set debugShowCheckedModeBanner to false

Material app

MaterialApp(
  debugShowCheckedModeBanner: false,
)

 

Cupertino app

 
CupertinoApp(
     debugShowCheckedModeBanner: false
    )

 

 

 

 

Leave a Comment