Flutter 기초 잡는 블로그

FrugalBoy
2024.12.17조회수 3회

FrugalBoy
구독자 5명구독중 12명
Wanna live like a frugal boy
For the genetically superior, success is easier to attain.
But it is by no means guaranteed.
After all, there is no gene for fate
-Gattaca-


일단 처음 기본 내용은 아래 글 보고 기반을 잡자!
https://100sucoding.tistory.com/33
1. 앱을 가장 상단에서 감싸고 있는 봉지는 MaterialApp 이다.
2. MaterialApp에서 가장먼저 나오는 페이지는 home 이다.
3. 페이지는 Scaffold 라는 형태를 가진다.
MaterialApp(위젯)
-home(옵션)
Scaffold(위젯)
-appbar(옵션)
AppBar(위젯)
-title(옵션)
Text(위젯)
-style(옵션)
TextStyle(위젯)
-color(옵션)
-Colors(일반클래스)
5개의 위젯과
5개의 옵션
1개의 일반클래스
를 알게되었네요.
(또한 Column 자체에서 넓이와 높이를 줄수가 없습니다.
Column 의 경우 높이는 남아있는 공간모두 차지
넓이는 아래 children 중에 가장 긴거를 따름. Row는 반대겠죠?)