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
- texttheme
- 웹크롤러
- crawler
- Android
- Class
- python
- 코틀린
- set
- 다트
- 클래스
- import
- variable
- kotlin
- List
- textstyle
- map
- Flutter
- 파이썬
- ML
- 플러터
- pushnamed
- animation
- 콜렉션
- 크롤러
- text
- function
- Collection
- DART
- package
- 함수
Archives
- Today
- Total
조용한 담장
ListView 본문
Listview
ListView
A scrollable list of widgets arranged linearly.

Listview Builder
동적으로 listview를 생성.

Listview.separated
각줄 사이에 separator 를 삽입. 예제는 Divider 를 삽입.

ListTile
앞뒤로 아이콘을 가지고 중간에 문자를 가지는 전형적인 list 의 한 줄을 구현하는 위젯.

Checkbox, Radio, Switch
CheckboxListTile, RadioListTile, SwitchListTile 를 적용했다.


Custom Checkbox, Radio, Switch
ListTile 의 기본 구성과 다르게 구성하고자 할때는 각각의 항목에 해당하는 위젯을 사용하여 만든다.

Checkbox
Radio
Switch

Reference
https://api.flutter.dev/flutter/widgets/ListView-class.html
https://api.flutter.dev/flutter/material/ListTile-class.html
'Flutter' 카테고리의 다른 글
| Flutter : TextField (0) | 2019.09.06 |
|---|---|
| Flutter : BuildContext (0) | 2019.09.05 |
| url_launcher (0) | 2019.08.07 |
| Flutter : Platform-specific code (0) | 2019.08.06 |
| Drawer (0) | 2019.08.02 |
Comments