Introduction
In Flutter, there are situations when we wish to remove the debug banner. In this article, we'll look at how to do it.
How to remove the debug banner in Flutter
To remove the debug banner in Flutter you need to set debugShowCheckedModeBanner
to false
in your MaterialApp
Widget.
Conclusion
In this post, we presented the best way to remove the debug banner in Flutter.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}