티스토리 뷰

반응형

Containers with no children try to be as big as possible unless the incoming constraints are unbounded, in which case they try to be as small as possible. Containers with children size themselves to their children. The width, height, and constraints arguments to the constructor override this.

1) child가 없을때는 화면 다 채움

2) child가 있으면 child만큼 작아짐

3) 하나의 child 만 가질 수 있음 

 

 

 

SafeArea는

화면밖으로 나가지 않을 수 있게끔 경계를 지정 

 

Margin은 위제의 바깥쪽

 

Padding은 위젯의 안쪽 

반응형

'개발 > Flutter' 카테고리의 다른 글

ScaffoldMessenger  (0) 2021.06.27
Collection Generic  (0) 2021.06.27
Buildcontext  (0) 2021.06.27
Flutter Null safety  (0) 2021.06.26
Flutter Googlemap API  (0) 2021.06.25
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함