본문 바로가기

Widget4

[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.
[Flutter] Widget - MaterialApp 1. MaterialApp이란? MaterialApp Widget은 Material Design을 구현하기 위한 다양한 속성을 가지고 있는 Widget입니다. 바로 MaterialApp이 가지고 있는 속성에 대해 알아보도록 하겠습니다. 2. MaterialApp 속성 https://api.flutter.dev/flutter/material/MaterialApp-class.html MaterialApp class - material library - Dart API An application that uses material design. A convenience widget that wraps a number of widgets that are commonly required for material de.. 2022. 4. 6.
[Flutter] Flutter Material API Flutter App을 개발하기 위해선 먼저 Widget에 대해 알아야 합니다. Flutter App은 Widget을 기반으로 개발하기 때문입니다. 개발하고자 하는 기능에 맞는 Widget을 찾고, 이를 적재적소에 활용하는 것이 중요합니다. 그렇기 때문에 Flutter에는 어떠한 Widget이 있는 지, 또 어떻게 사용할 수 있는 지 알아보도록 하겠습니다. https://api.flutter.dev/flutter/material/material-library.html material library - Dart API Flutter widgets implementing Material Design. To use, import package:flutter/material.dart. See also: Clas.. 2022. 4. 6.
[Flutter] main.dart 분석하기 1. import import 'package:flutter/material.dart'; Flutter의 핵심이라고 할 수 있는 material 라이브러리를 불러옵니다. material 라이브러리 안에는 Material Design 구현을 위한 많은 코드들이 들어있습니다. 그렇다면, Material Design이란 무엇일까요? https://material.io/ Material Design Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences. material.io M.. 2022. 4. 3.