Remove Debug Banner in Flutter

Create Free Backend With Appwrite

Remove Debug Banner in Flutter

To remove the debug banner in flutter, you need to set the debugShowCheckedModeBanner property to false in the MaterialApp widget.

MaterialApp(
    // set this property to false
  debugShowCheckedModeBanner: false,
)
Info

Note: This change is only for visual purposes in the debug mode and does not affect the release build of your app.

For CupertinoApp

If you are using the CupertinoApp widget, then you need to set the debugShowCheckedModeBanner property to false in the CupertinoApp widget.

CupertinoApp(
    // set this property to false
  debugShowCheckedModeBanner: false,
)