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
- Button
- Flutter
- 안드로이드
- DART
- CustomScrollView
- textview
- 테스트
- 계측
- Kotlin
- android
- activity
- drift
- data
- Compose
- TEST
- Navigation
- Coroutines
- Dialog
- tabbar
- 앱바
- 앱
- scroll
- appbar
- LifeCycle
- binding
- intent
- viewmodel
- textfield
- livedata
- ScrollView
Archives
- Today
- Total
목록네비게이션바 (1)
Study Record
[Flutter] 슬라이드 메뉴(Drawer)
✍ Drawer Dawer 위젯은 햄버거 아이콘을 누르면 슬라이드 메뉴가 나오는 기능을 쉽게 구현해 준다. Scaffold 인자 중 drawer 에 Drawer 위젯을 넣고 appBar 인자를 채우면 자동으로 앱바에 햄버거 아이콘이 추가되면서 Drawer 를 열고 닫기를 조절할 수 있다. 기본 모양은 다음과 같다. Drawer 의 child 로 슬라이드 메뉴의 위젯을 넣어준다. Scaffold( appBar: AppBar(title: const Text("Drawer")), drawer: Drawer( backgroundColor: Colors.deepPurple, child: ListView( children: [ const DrawerHeader( child: Text("Drawer Header", ..
Flutter/widget
2023. 3. 17. 17:40