flutter remove debug code example

Example 1: how to remove debug tag in flutter

Inside your MaterialApp widget, add the following property.

MaterialApp(
 debugShowCheckedModeBanner: false
)

Example 2: how to hide debug in flutter

debugShowCheckedModeBanner: false

Example 3: remove debug banner flutter

MaterialApp(
  debugShowCheckedModeBanner: false,
)

Example 4: how to remove debug tag in flutter

MaterialApp(
 debugShowCheckedModeBanner: false
)

Example 5: remove debug bar flutter

runApp(MaterialApp(
      debugShowCheckedModeBanner: false,     
      .....
));

Tags:

Dart Example