I'm using flutter screenshot
and I expected the screenshot to not have a banner, but it has.
Note that I get a not supported for emulator
message for profile and release mode.
On your MaterialApp
set debugShowCheckedModeBanner
to false
.
MaterialApp(
debugShowCheckedModeBanner: false,
)
The debug banner will also automatically be removed on the release build.