How to remove the debug banner in Flutter?
I am using a flutter screenshot and I would like the screenshot not to have a banner. Now it does have.
flutter screenshot
The debug banner appears only while in development and is automatically removed in the release build.
To hide this there is a need to set debugShowCheckedModeBanner to false
debugShowCheckedModeBanner
false
MaterialApp( debugShowCheckedModeBanner: false, )