본문 바로가기
Development Solutions/Flutter & Dart

[Solved][Flutter] How to remove the DEBUG ribbon at the top right of the app (앱 우측 상단의 DEBUG 리본 제거하는 방법)

by studio ODOC 2021. 11. 18.
반응형

 

 

flutter 프로젝트가 가장 처음 시작되는 (보통 main.dart) 소스 코드 파일에서

build 함수 내의 위젯 내에 아래와 같이 선언하면 됩니다.

 

(In the source code file where the flutter project is first launched (usually main.dart)
You can declare it in the widget within the build function as follows.)

debugShowCheckedModeBanner = false

 

다시 DEBUG리본을 띄우고 싶다면,

위 값을 true로 선언하면 되겠습니다.

 

(If you want to float the DEBUG ribbon again,
Declare the above value as true.)

반응형