Flutter는 위젯으로 구성되어있다.
Section1.( 1 ~ 15강)
How is Flutter/Dart transformed to a Native App?

Flutter SDK로 코드를 컴파일해서 Native 코드로도 읽히게 한다.

Helpful Resources & Links
- Official Flutter Docs: https://flutter.io/docs/
- macOS Setup Guide: https://flutter.io/setup-macos
- Windows Setup Guide: https://flutter.io/setup-windows
- Linux Setup Guide: https://flutter.io/setup-linux
- Visual Studio Code: https://code.visualstudio.com/
- Visual Studio Code Flutter Extension: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
- Android Studio: https://developer.android.com/studio/
Section2.(16 ~ 58강)
Layout Widget (Column, Row...)
Column(children: [
Text('The question!'),
ElevatedButton(
chlid: Text('Test'),
onPressed: () {
//이렇게 안 에서 함수 만들 수도 있고 밖에 만 들 수도 있다.
print('Answer 3 chosen');
], )
//밖에서는 이렇게 만든다.
void answerQuestion() {
print('Answer chosen!');
}
State
1. StatelessWidget vs. StatefulWidget :

--> Container는 화면 전체에서 중앙으로 올 수 있게 해준다.
Container(
width: double.infinity,
child: Text(
questionText,
style: TextStyle(fontSize: 28),
textAlign: TextAlign.center,
), // Text
final vs. const (47강 re)
+a
'App > Flutter' 카테고리의 다른 글
pubspec.yaml, analysis_options.yaml (0) | 2022.09.02 |
---|---|
FireBase connection Error (0) | 2022.08.31 |
Flutter 기본 위젯 4가지 & 레이아웃 & stateful 위젯 vs. stateless 위젯 (0) | 2022.08.26 |
Flutter-Provider (0) | 2022.08.24 |
SqLite vs. MySQL vs. shared_preferences (0) | 2022.08.21 |