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
- binding
- activity
- Navigation
- drift
- scroll
- textview
- DART
- Dialog
- livedata
- 안드로이드
- 계측
- android
- Flutter
- ScrollView
- TEST
- Compose
- 앱
- appbar
- intent
- data
- viewmodel
- 테스트
- Coroutines
- tabbar
- textfield
- 앱바
- Kotlin
- LifeCycle
- CustomScrollView
- Button
Archives
- Today
- Total
목록스크롤 시 앱바 숨기기 (1)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cMdTcU/btr2D99D4Ue/1JtO9yelYCswybuRaDpJa0/img.png)
🎁 SliverAppBar CustomScrollView 의 slivers 에서 SliverAppBar 를 사용할 수 있다. 기본적인 앱바 기능부터 스크롤에 따른 앱바의 모양도 다르게 할 수 있다. 앱바를 어떻게 꾸미는지보단 스크롤바에 따라 앱바를 어떻게 컨트롤할 수 있는지에 대해 알아보려고 한다. CustomScrollView 와 SliverAppBar 를 같이 사용한 모습은 다음과 같다. CustomScrollView( slivers: [ SliverAppBar( title: Text("SliverAppBar"), centerTitle: true, ), SliverList( delegate: SliverChildListDelegate( List.generate(20, (index) => index) ..
Flutter/widget_scrollView
2023. 3. 8. 20:17