Widget들의 부모, 자식 관계를 나타내는 것을 Widget Tree라고 부른다.
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
home: Scaffold(
backgroundColor: Colors.black,
body: Center(
child:Text(
'Hello World'
,style: TextStyle(
color: Colors.white,
fontSize: 20.0,
),
),
),
),
),
);
}
8. Row 와 Column (flutter) (0) | 2023.09.15 |
---|---|
7. Splash Screen (flutter) (0) | 2023.09.14 |
5. Dart 3.0 업데이트 문법 (0) | 2023.09.12 |
4-2. Asynchronous Programming (비동기 프로그래밍) (0) | 2023.09.08 |
4-1. Asynchronous Programming (비동기 프로그래밍) (0) | 2023.09.07 |