dart-pad
dart-pad copied to clipboard
disable debug banner by default
Samples currently have to disable debugShowCheckedModeBanner on MaterialApp to hide the banner. We should hide it by default. The API docs are showing it too: https://master-api.flutter.dev/flutter/material/AppBar-class.html
Looks like there's a global flag in the WidgetsApp class:
https://github.com/flutter/flutter/blob/a1c5e3354be7e0c391447d958bc546629bbe148a/packages/flutter/lib/src/widgets/app.dart#L705
We could modify the bootstrap file to flip that bit.
https://github.com/dart-lang/dart-services/blob/aec916c78aeb0c5a915ed48ded09d020cf33d0bd/lib/src/common.dart#L14
here the deep guide to you https://laratuto.com/how-to-remove-debug-banner-in-flutter/
@RedBrogdon I'm guessing we would need to patch the Flutter SDK before compiling the JS bundles as part of the build process. Does that sound right?