일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 함수
- 웹크롤러
- pushnamed
- ML
- 콜렉션
- import
- set
- text
- DART
- List
- 플러터
- crawler
- 크롤러
- python
- function
- textstyle
- 다트
- 파이썬
- kotlin
- map
- Class
- variable
- Flutter
- Collection
- Android
- package
- Yocto
- animation
- 코틀린
- 클래스
- Today
- Total
조용한 담장
Tab 본문
Tab
Tab, TabBar, TabBarView, TabController
Tab
A material design TabBar tab. If both icon and text are provided, the text is displayed below the icon.
TabBar
A material design widget that displays a horizontal row of tabs. Typically created as the AppBar.bottom part of an AppBar and in conjunction with a TabBarView.
TabBarView
A page view that displays the widget which corresponds to the currently selected tab. This widget is typically used in conjunction with a TabBar.
TabController
Coordinates tab selection between a TabBar and a TabBarView.
Simple Tab, DefaultTabController
기본 디자인(Material) 을 그대로 사용할땐 DefaultTabController 를 사용해 본다.
Tab
TabController 는 TabBar 와 TabBarView 에 적용한다.
TabController.animateTo()
Immediately sets index and previousIndex and then plays the animation from its current value to index.
특정 인텍스로 바로 이동.
Reference
https://api.flutter.dev/flutter/material/Tab-class.html
https://api.flutter.dev/flutter/material/TabBar-class.html
https://api.flutter.dev/flutter/material/TabBarView-class.html
https://api.flutter.dev/flutter/material/TabController-class.html
'Flutter' 카테고리의 다른 글
url_launcher (0) | 2019.08.07 |
---|---|
Flutter : Platform-specific code (0) | 2019.08.06 |
Drawer (0) | 2019.08.02 |
AnimatedSwitcher (0) | 2019.07.31 |
BottomNavigationBar, BottomAppBar (0) | 2019.07.29 |