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
On your MaterialApp set debugShowCheckedModeBanner to false.
MaterialApp
debugShowCheckedModeBanner
false
MaterialApp( debugShowCheckedModeBanner: false, )
The debug banner will also automatically be removed on release build.