반응형
MaterialApp 에
show Performance Overlay: true, 추가해주면 앱 실행시 퍼포먼스 체크 할 수 있다!
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Flutter Demo',
showPerformanceOverlay: true,
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
반응형
'# 02 > Flutter' 카테고리의 다른 글
[Flutter] HTML \n 줄바꿈 처리 안되는 현상! (0) | 2022.10.27 |
---|---|
[Flutter] Bluetooth Keyboard Error!! (0) | 2022.09.20 |
[Flutter] Native Shared Preferences ! (0) | 2022.06.15 |
[Flutter] How to use Expanded in SingleChildScrollView? (0) | 2022.06.13 |
[Flutter] scroll physics no bounce no scroll (0) | 2022.04.21 |