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.
its app.dart class property,
Displays a Banner saying "DEBUG" when running in checked mode. MaterialApp builds one of these by default.
for disable this banner in debug mode also, you can set bool false.
return MaterialApp(
theme:....
debugShowCheckedModeBanner: false,
home: SplashScreen(),
);
In release mode this has no effect.