1)
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,
)),
),
),
),
);
}

'개발이 좋아서 > Flutter가 좋아서' 카테고리의 다른 글
| [flutter] row and column_mainAxisAlignment, crossAxisAlignment, mainAxisSize (0) | 2022.12.22 |
|---|---|
| [flutter] splash_screen (0) | 2022.12.22 |
| [Dart] 4일차_비동기 프로그래밍_stream (0) | 2022.12.15 |
| [Dart] 4일차_비동기 프로그래밍_async, await (0) | 2022.12.15 |
| [Dart] 3일차_함수형 프로그래밍_활용 (1) | 2022.12.14 |