How to Remove the Flutter Debug Banner in Just One Step

Changelog: Code updated to Flutter 3.10. Every Flutter application comes in debug mode by default, which means that the debug banner is shown. It serves only to remind us that the application is in debug mode, and when you switch to release mode, this banner will not be present. But this banner can be annoying to some people, like me, during the development of the app. To remove it, simply set the value of the debugShowCheckedModeBanner property to false in your MaterialApp:...

May 7, 2023 · (updated May 28, 2023) · 1 min