There is also another way for removing the "debug" banner from the Flutter app. Now after a new release there is no `"debugShowCheckedModeBanner: false,"` code line in the main .dart file. So I think these methods are effective:
1. If you are using [Visual Studio Code][1], then install `*"Dart DevTools"* from extensions. After installation, you can easily find the *"Dart DevTools"* text icon at the bottom of Visual Studio Code. When you click on that text icon, a link will be opened in Google Chrome. From that link page, you can easily remove the banner by just tapping on the banner icon as shown in [this screenshot][2].
NOTE: [Dart DevTools][3] is a Dart language debugger extension in Visual Studio Code
2. If *Dart DevTools* is already installed in your Visual Studio Code, then you can directly open Google Chrome and open
the URL *"127.0.0.1: ZZZZZ/?hide=debugger&port=XXXXX"*
*Note*: In this link, replace "XXXXX" by 5 digit port-id (on which your Flutter app is running) which will vary whenever you use the `flutter run` command and replace "ZZZZZ" by your global (unchangeable) 5 digit debugger-id
*Note*: These Dart developer tools are only for the Google Chrome browser
[1]:
[To see links please register here]
[2]:
[3]:
[To see links please register here]