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
- viewmodel
- Coroutines
- binding
- 앱바
- 계측
- TEST
- activity
- Navigation
- Button
- intent
- appbar
- livedata
- Flutter
- Kotlin
- ScrollView
- scroll
- tabbar
- data
- LifeCycle
- 안드로이드
- drift
- textfield
- android
- DART
- CustomScrollView
- 앱
- textview
- 테스트
- Compose
- Dialog
Archives
- Today
- Total
목록키보드자동내림 (1)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/eCPhi0/btr2zlO5esc/kCiIzS10PoKVodKEuSFMkk/img.gif)
✍ SingleChildScrollView Widget 가장 기본적인 스크롤 가능한 위젯이다. child 인자에 원하는 위젯(ex. Column)을 넣으면 기본 값으로 위젯이 화면 사이즈를 넘게 되면 스크롤이 가능하고 화면 사이즈를 넘지 않으면 기본 위젯으로만 작동한다. SingleChildScrollView 위젯은 child 에 있는 위젯을 한번에 그린다. 즉, child 에 Column 위젯을 넣었는데 children list 의 길이가 100이면 100개 한번에 생성된다. 따라서 들어가는 위젯이 많으면 비용 면에서 비효율적일 수 있다. SingleChildScrollView( child: Column( children: [ Colors.red, Colors.yellow, Colors.green, C..
Flutter/widget_scrollView
2023. 3. 7. 18:12