일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- FutureBuilder
- CrossAxisAlignment
- AppBar
- InkWell
- Load Image
- listview
- Row
- node.js
- Flutter 예제
- Hello World
- navigator
- 반석천
- Image.network
- Snackbar
- Flutter Example
- MainAxisAlignment
- HTTP
- Cached Image
- Flutter Tutorial
- Networking
- Flutter 앱 배포
- ListTile
- Row Widget
- Flutter 강좌
- ListView.builder
- Column Widget
- flutter
- WillPopScope
- Scaffold
- sqlite
- Today
- Total
목록Flutter Tutorial (45)
꿈꾸는 시스템 디자이너
Add this to pubspec.yaml file dependencies: shared_preferences: ^0.5.3+4 Source Code import 'package:flutter/material.dart'; import 'package:shared_preferences/shared_preferences.dart'; SharedPreferencesDemoState pageState; class SharedPreferencesDemo extends StatefulWidget { @override SharedPreferencesDemoState createState() { pageState = SharedPreferencesDemoState(); return pageState; } } clas..
import 'package:flutter/material.dart'; SnackBarWidgetState pageState; class SnackBarWidget extends StatefulWidget { @override SnackBarWidgetState createState() { pageState = SnackBarWidgetState(); return pageState; } } class SnackBarWidgetState extends State { // Global Key of Scaffold final scaffoldKey = GlobalKey(); @override Widget build(BuildContext context) { return Scaffold( key: scaffold..
import 'package:flutter/material.dart'; ContainerWidgetState pageState; class ContainerWidget extends StatefulWidget { @override ContainerWidgetState createState() { pageState = ContainerWidgetState(); return pageState; } } class ContainerWidgetState extends State { double _height = 100; double _width = 100; double _padding = 1; double _margin = 1; double _border = 1; Color _bgColor = Colors.red..
import 'package:flutter/material.dart'; ExpandedWidgetState pageState; class ExpandedWidget extends StatefulWidget { @override ExpandedWidgetState createState() { pageState = ExpandedWidgetState(); return pageState; } } class ExpandedWidgetState extends State { List flexList = [1, 1, 1, 1, 1, 1]; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Expanded..
import 'package:flutter/material.dart'; class ColumnWidgetAlignment extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Column Widget Alignment")), body: ListView( children: [ Text("* CrossAxisAlignment", style: TextStyle(fontWeight: FontWeight.bold)), Row( crossAxisAlignment: CrossAxisAlignment.end, children: [ Expanded( child: C..
import 'package:flutter/material.dart'; class ColumnWidgetBasic extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Basic Column Widget")), body: Column( children: [ boxWidget(), boxWidget(), boxWidget(), ], ), ); } boxWidget() { return Container( height: 50, width: 50, decoration: BoxDecoration( color: Colors.blue[400], border: B..
import 'package:flutter/material.dart'; class RowWidgetCrossAxisAlignment extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Row widget - CrossAxisAlignment")), body: ListView( children: [ Text("default (CrossAxisAlignment.center)"), Container( decoration: BoxDecoration( color: Colors.grey[200], border: Border.all(color: Colors.i..
import 'package:flutter/material.dart'; class RowWidgetMainAxisAlignment extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Row widget - MainAxisAlignment")), body: ListView( children: [ Text("Default (MainAxisAlignment.start)"), Container( child: Row( mainAxisAlignment: MainAxisAlignment.start, children: [ boxWidget(), boxWidget..