If you are using IntelliJ IDEA, there is an option in the flutter inspector to disable it.
run the project
When you are in the Flutter Inspector, click or choose "More Actions."
Picture of the Flutter Inspector
When the menu appears, choose "Hide Debug Mode Banner"