6.1 How to remove the Flutter debug banner?
Вставка
- Опубліковано 31 тра 2021
- #flutter #dart
How to remove the Flutter debug banner?
✅The debug banner will also automatically be removed on release build.
divin.dev/flutter/2022/05/04/...
✅Removing the DEBUG Banner:
1️⃣To remove or hide the DEBUG label in your Flutter app, set the debugShowCheckedModeBanner property to false in the MaterialApp widget of your application.
On your MaterialApp or CupertinoApp set debugShowCheckedModeBanner to false
🅰MaterialApp(
debugShowCheckedModeBanner: false,)
🅱CupertinoApp(
debugShowCheckedModeBanner: false, )
2️⃣If you're using Dart DevTools, you can find the same button in the top right corner as well.
3️⃣If you want to release apk (which don't have debug banner) and if you are using android studio then go to:
Run ➡ Flutter Run 'main.dart' in Release mode
❓remove debug banner flutter android studio, flutter debug mode, flutter change debug banner text, how to remove debug, how to remove debug file from desktop, flutter banner, flutter release mode, flutter release build
Thanks for tutor
Thanks
thnx !!!
Helps
Cho em hỏi với ạ ở bài này anh dùng cái gì để chạy máy ảo vậy ạ?
Mình k dùng máy ảo bạn ạ. Vì chạy máy ảo nặng quá nên mình thường debug bằng cách build ứng dụng dạng web hoặc ứng dụng Windows. Bạn xem cách config ở đây flutter.dev/desktop
@@DummyFresher dạ vâng em cám ơn ạ
@@DummyFresher à mà build vậy nó khác máy ảo nhiều không ạ?
Cũng k khác nhiều, vì Flutter là đa nền tảng mà. Chỉ khác là cửa sổ có thể co giãn to nhỏ, k như máy ảo thì kích thước màn hình là cố định.
@@DummyFresher Dạ vâng em cám ơn ạ
You took so long to show a simple thing!!! 😠