Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- drift
- ScrollView
- TEST
- CustomScrollView
- tabbar
- data
- viewmodel
- textfield
- binding
- 테스트
- activity
- textview
- Compose
- 앱바
- Kotlin
- 계측
- Navigation
- DART
- intent
- Button
- appbar
- LifeCycle
- Flutter
- 앱
- livedata
- Coroutines
- android
- 안드로이드
- scroll
- Dialog
Archives
- Today
- Total
목록리스트뷰 (1)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/6IIU1/btr2D7buUHu/2Nt8KNW6wPV9vrkONLfhfk/img.png)
🎁 ListView 여러 개의 항목을 여러 개로 스크롤 가능하게 보여줄 수 있는 위젯이다. 😶 기본 ListView 다음과 같이 기본적으로 children 으로 여러 개의 항목을 설정할 수 있다. 이 방법은 children 의 리스트 개수가 100개면 실행과 동시에 100개가 한 번에 생성된다. 따라서 개수가 많으면 비효율적일 수 있다. ListView( children: List.generate(100, (index) => Container( height: 100, child: Center(child: Text(index.toString())), )), ); 😶 ListView.builder ListView.builder 를 사용하여 리스트뷰를 생성할 수 있다. itemCount 가 항목의 개수이고 i..
Flutter/widget_scrollView
2023. 3. 7. 20:20