하이브리드 Navtive App 개발을 위한 google의 flutter 지금부터라도 스터디 가즈아 ~ 저도 초짜라 아는건 별로 없습니다.
1. hello world
- 자 아래와 같은 hello world를 5분안에 만들어 보겠습니다.
flutter 설치는 [flutter] #001. 설치하기 ( in Windows ) 를 참조 바랍니다.
2. 만들기
- File - New - New Flutter Project
main.dart
파일 싹 지우고 아래 코드 넣기
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Welcome to Flutter',
home: new Scaffold(
appBar: new AppBar(
title: const Text('Welcome to Flutter'),
),
body: const Center(
child: const Text('Hello World'),
),
),
);
}
}
녹색 실행 버튼을 눌러 줘요
3. 끝
참 쉽죠 ?
4. 맺음말
설명 이런거 안하렵니다. 처음부터 지치면 안되자나요 ㅋ
복붙으로 화면만 나옴 OK 입니다. 후하하
아래쪽 관련 글을 통해 설치 부분은 꼭 정독 후 본 글을 따라하기 바랍니다.문의는 늘 대환영 ~ 단 답변은 언제 갈 지 모름 ;;
관련 글
출처 : https://codelabs.developers.google.com/codelabs/first-flutter-app-pt1/#0