Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- navigator
- Flutter Tutorial
- ListTile
- Row Widget
- Snackbar
- node.js
- Scaffold
- Load Image
- flutter
- Networking
- Hello World
- listview
- Column Widget
- Row
- FutureBuilder
- WillPopScope
- Flutter 강좌
- Flutter 앱 배포
- Flutter 예제
- Flutter Example
- ListView.builder
- Cached Image
- MainAxisAlignment
- CrossAxisAlignment
- sqlite
- InkWell
- AppBar
- Image.network
- HTTP
- 반석천
Archives
- Today
- Total
꿈꾸는 시스템 디자이너
Flutter Example - ListView | basic 본문
import 'package:flutter/material.dart';
class ListViewBasic extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("ListView Demo - Basic")),
body: ListView(
children: <Widget>[
Text("First Item - Text"),
Container(
decoration: BoxDecoration(color: Colors.orange),
child: Text("Second item - Text in Container"),
),
ListTile(
leading: Icon(Icons.list),
title: Text("3rd item"),
subtitle: Text("ListTile"),
),
RaisedButton(
child: Text("4th item - RaisedButton"),
),
Card(
child: Text("5th item - Text in Card"),
),
Card(
child: Text("5th item - Text in Card"),
),
Text(
"Various kinds of widgets can be registered as items of ListView Widget"),
],
),
);
}
}
▶ Go to Table of Contents | 강의 목차로 이동
※ This example is also available in the Flutter Code Examples app. | 본 예제는 Flutter Code Examples 앱에서도 제공됩니다.
'Tutorial > Flutter with App' 카테고리의 다른 글
Flutter Example - ListView | ListView with diffrent types of items (0) | 2019.09.27 |
---|---|
Flutter Example - ListView | Create ListView with builder (2) | 2019.09.27 |
Flutter Example - Screen Management | Kept On Screen (0) | 2019.09.27 |
Flutter Example - WillPopScope | Handel back button pressed (0) | 2019.09.27 |
Flutter Example - AlertDialog (0) | 2019.09.27 |
Comments