일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Column Widget
- navigator
- InkWell
- Hello World
- listview
- Flutter Tutorial
- ListView.builder
- node.js
- Image.network
- Cached Image
- WillPopScope
- Row
- flutter
- MainAxisAlignment
- Row Widget
- Scaffold
- CrossAxisAlignment
- Load Image
- HTTP
- Flutter 앱 배포
- AppBar
- Networking
- Flutter 강좌
- ListTile
- Flutter Example
- Flutter 예제
- Snackbar
- sqlite
- 반석천
- Today
- Total
목록Flutter 예제 (43)
꿈꾸는 시스템 디자이너
1. Prepare the image to use. 2. Create a folder (assets/images) to store images in the root path of the project. Then copy the prepared image to the folder. 3. Add the path of the image file to the assets section of the pubspec.yaml file. flutter: assets: - assets/images/image.jpg 4. Source Code import 'package:flutter/material.dart'; class LoadImageFromAsset extends StatelessWidget { @override ..
* About Plugin https://pub.dev/packages/permission_handler permission_handler | Flutter Package Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions. pub.dev 1. Add this to pubspec.yaml file permission_handler: ^3.2.2 2. Add the following meta data to Android manifest file 3. Source Code import 'package:flutter/material.dart'; i..
* About Plugin https://pub.dev/packages/admob_flutter admob_flutter | Flutter Package Admob plugin that shows banner ads using native platform views. pub.dev 1. Add this to pubspec.yaml file dependencies: admob_flutter: ^0.3.3 2. Add the following meta data to Android Manifest file In order to use the AdMob plug-in, the application ID and advertisement ID must be issued from the admob site. Howe..
import 'package:flutter/material.dart'; GestureDetectorDemoState pageState; class GestureDetectorDemo extends StatefulWidget { @override State createState() { pageState = GestureDetectorDemoState(); return pageState; } } class GestureDetectorDemoState extends State { final scaffoldKey = GlobalKey(); @override Widget build(BuildContext context) { return Scaffold( key: scaffoldKey, appBar: AppBar(..
import 'package:flutter/material.dart'; ListViewHandelItemState pageState; class ListViewHandelItem extends StatefulWidget { @override ListViewHandelItemState createState() { pageState = ListViewHandelItemState(); return pageState; } } class ListViewHandelItemState extends State { List items = List.generate(7, (index) { return "Item - $index"; }); final teController = TextEditingController( text..
import 'package:flutter/material.dart'; class GridViewDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("GridView Demo")), body: GridView.count( crossAxisCount: 4, children: List.generate(1000, (index) { return boxItem(index); }), ), ); } boxItem(int index) { return Container( height: 100, width: 100, decoration: BoxDecorati..
import 'package:flutter/material.dart'; class ListViewHorizontal extends StatelessWidget { List items; ListViewHorizontal() { items = List.generate(100, (index) { return boxItem(index); }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("ListView - Horizontal")), body: Container( height: 100, child: ListView.builder( scrollDirection: Axis.horizontal,..
import 'package:flutter/material.dart'; abstract class ListsItem {} class HeadingItem implements ListsItem { final String heading; HeadingItem(this.heading); } class MessageItem implements ListsItem { final String sender; final String body; MessageItem(this.sender, this.body); } class ListViewWithDiffTypeItems extends StatelessWidget { List items; ListViewWithDiffTypeItems() { items = List.gener..