The debug banner is added by MaterialApp. If you simply add a “debugShowCheckedModeBanner: false” to MaterialApp then the banner will be removed. e.g.

MaterialApp(
      debugShowCheckedModeBanner: false,
      ...other MaterialApp init...

Discover more from

Subscribe to get the latest posts sent to your email.

Leave a comment

Trending