본문 바로가기

flutter10

[Flutter] 1. SafeArea https://api.flutter.dev/flutter/widgets/SafeArea-class.html 위젯은 각 OS에 따라 침범을 피하기 위한 충분한 패팅에 의한 위젯의 child를 넣는다. 예를들면, 이렇게하면 화면 상단의 statusbar를 피할 수있을만큼 child가 들여 쓰기된다. 또한 이것은 iphoneX의 노치바나, 다른 디스플레이의 물리적인 기능을 피하는데 필요한만큼 child를 들여쓰기 한다. 최소한 padding이 명시되었을때, 더 나은 최소한의 padding이나 safe area padding이 적용될 것이다. Widget의 가장 최상단에 SafeArea 로 덮는다. Inheritance Object > DiagnositicableTree > Widget > StatelessWi.. 2020. 6. 14.
[Flutter] Section3 Section3. How to Create Flutter Apps from Scratch YNG & RICH Project Creating a New Flutter Project from Scratch main.dart import 'package:flutter/material.dart'; void main() { runApp( MaterialApp( home: Center( child: Text('Wurrup World!'), ), ), ); } Widget Tree Scaffolding a Material App Scaffold() Implements the basic material design visual layout structure. This class provides APIs for show.. 2020. 5. 15.
[Flutter] Section2 Section2: Installation and Setup for Flutter 1. Install the Flutter SDK Minimum System Requirements Mac OS + 700MB for Flutter Mac OS + 10GB for IDE & simulator Mac OS (at least Mojave) Install https://flutter.dev/docs/get-started/install/macos Click FlutterSDK and download. unzip file flutter_macos_v1.12.13+hotfix.9-stable.zip /Users/User/flutter flutter라는 폴더를 만들고 압축을 푼 flutter 폴더를 이동한다. Update.. 2020. 5. 13.
[Flutter] Section1 The Brewery Study 1. Why Flutter? Dart 언어만 알면 IOS, Android, Web, Desktop 을 구현할 수 있다. A simple and flexible layout System There's a whole family of devices. Lots of devices. Huge ecosystem of sizes, ratios. Hot reload! As soon as you change something, you hist save, and you see the change in your app. super-fast reload Access to Original Source code IOS 와 Android 소스가 어떻게 동작하는지 직접 접근이 가능하다. 2... 2020. 5. 11.