플러터3 반응형 앱 만들기 - Flutter import 'package:flutter/material.dart'; void main() { runApp(const MyApp2()); } class MyApp2 extends StatefulWidget { const MyApp2({Key? key}) : super(key: key); @override _MyApp2State createState() => _MyApp2State(); } class _MyApp2State extends State { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home.. 2022. 1. 23. 레이아웃 빌딩 - Flutter import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWi.. 2022. 1. 23. 카운팅 앱 만들기 - Flutter import 'package:flutter/material.dart'; void main()=>runApp(MyApp()); class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData(primarySwatch: Colors.blue), home: MyHomePage(title: 'Flutter Demo Home Page') ); } } class MyHomePage extends StatefulWidget { // _MyHomePa.. 2022. 1. 23. 이전 1 다음