safearea2 [Flutter] Widget - Container 1. Container란? Container Widget은 1개의 하위 Widget을 생성할 수 있는 Flutter의 기본 Widget입니다. 테두리, 여백, 정렬, 크기 등의 다양한 요소를 설정하여 하위 Widget을 꾸밀 수 있습니다. 하위 Widget이 있는 경우, 하위 Widget에 맞는 크기로 설정됩니다. 하위 Widget이 없는 경우, 최대치로 차지 가능한 범위의 크기로 설정됩니다. 2. Container 생성자 및 속성 https://api.flutter.dev/flutter/widgets/Container-class.html Container class - widgets library - Dart API A convenience widget that combines common painti.. 2022. 4. 18. [Flutter] Widget - SafeArea 1. SafeArea란? SafeArea Widget은 다양한 모바일 화면(크기, 노치 등)에서도 컨텐츠가 온전히 보여질 수 있도록 충분한 여백이 확보된 영역을 의미합니다. 2. SafeArea 생성자 및 속성 https://api.flutter.dev/flutter/widgets/SafeArea-class.html SafeArea class - widgets library - Dart API A widget that insets its child by sufficient padding to avoid intrusions by the operating system. For example, this will indent the child by enough to avoid the status bar at t.. 2022. 4. 17. 이전 1 다음