mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The TabBar's selection is now represented by a TabBarSelection object which encapsulates both the previous and currently selected indices and the Performance used to animate the selection indicator. Added a TabBarView class which displays a tab's contents. It uses a shared TabBarSelection to stay in sync with a TabBar. The TabBarView scrolls in sync with the TabBar when the selection changes. Eventually it will allow one to fling the selection forward or backwards. Added a tabBar property to ToolBar. Typically the corresponding TabBarView will be the body of the toolbar's Scaffold. Removed TabNavigatorView and TabNavigator. Added a widget gallery tabs demo page. Removed the old tabs demo.
12 lines
278 B
YAML
12 lines
278 B
YAML
name: material_gallery
|
|
material-design-icons:
|
|
- name: navigation/arrow_drop_down
|
|
- name: navigation/cancel
|
|
- name: navigation/menu
|
|
- name: action/event
|
|
- name: action/home
|
|
- name: action/android
|
|
- name: action/alarm
|
|
- name: action/face
|
|
- name: action/language
|