자주 사용하지만 매번 까먹는 기능이
바로 화면에 떠있는 DEBUG 배너 해제법이다.
MaterialApp의 debugShowCheckedModeBanner 속성을 아래처럼 false로 주면 된다.
class MyApp extends StatelessWidget {
const MyApp({super.key});
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: StorePage(),
);
}
}