Results for “TabBar”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
API reference
- TabBarclass
Material Design primary tab bar. material.TabBar TabBar Tab Bar class material
- TabBarScrollControllerclass
ScrollController for a TabBar widget. material.TabBarScrollController TabBarScrollController Tab Bar Scroll Controller class material
- TabBarThemeclass
Defines default property values for descendant TabBar widgets. material.TabBarTheme TabBarTheme Tab Bar Theme class material
- TabBarThemeDataclass
Defines default property values for descendant TabBar widgets. material.TabBarThemeData TabBarThemeData Tab Bar Theme Data class material
- TabBarViewclass
view that displays the widget which corresponds to the currently selected tab. material.TabBarView TabBarView Tab Bar View class material
- TabBarScrollController.newconstructor
material.TabBarScrollController.TabBarScrollController.new TabBarScrollController new Tab Bar Scroll Controller.new constructor material
- TabBar.secondaryconstructor
Creates a Material Design secondary tab bar. material.TabBar.TabBar.secondary TabBar secondary Tab Bar.secondary constructor material
- TabBar.newconstructor
Creates a Material Design primary tab bar. material.TabBar.TabBar.new TabBar new Tab Bar.new constructor material
- TabBarTheme.newconstructor
Creates a tab bar theme that can be used with ThemeData.tabBarTheme. material.TabBarTheme.TabBarTheme.new TabBarTheme new Tab Bar Theme.new constructor material
- TabBarView.newconstructor
Creates a page view with one child per tab. material.TabBarView.TabBarView.new TabBarView new Tab Bar View.new constructor material
- TabBarThemeData.newconstructor
Creates a tab bar theme that can be used with ThemeData.tabBarTheme. material.TabBarThemeData.TabBarThemeData.new TabBarThemeData new Tab Bar Theme Data.new constructor material
- TabControllerclass
Coordinates tab selection between a TabBar and a TabBarView. material.TabController TabController Tab Controller class material
- TabController.newconstructor
Creates an object that manages the state required by TabBar and a TabBarView. material.TabController.TabController.new TabController new Tab Controller.new constructor material
- Tabclass
Material Design TabBar tab. material.Tab Tab Tab class material
- UnderlineTabIndicatorclass
Used with TabBar.indicator to draw a horizontal line below the selected tab. material.UnderlineTabIndicator UnderlineTabIndicator Underline Tab Indicator class material
- material.TabAlignmentenum
Defines how tabs are aligned horizontally in a TabBar. material.TabAlignment TabAlignment Tab Alignment enum material
- Tab.newconstructor
Creates a Material Design TabBar tab. material.Tab.Tab.new Tab new Tab.new constructor material
- material.TabValueChangedtypedef
Signature for TabBar callbacks that report that an underlying value has changed for a given Tab at index. material.TabValueChanged TabValueChanged Tab Value Changed typedef material
- material.TabBarIndicatorSizeenum
Defines how the bounds of the selected tab indicator are computed. material.TabBarIndicatorSize TabBarIndicatorSize Tab Bar Indicator Size enum material
Version changes
- Customize tabs alignment using the new TabBar.tabAlignment property3.16.0breaking
Using `TabBar.tabAlignment` to customize the alignment of tabs in a `TabBar`. When you set `TabBar.isScrollable` and `ThemeData.useMaterial3` to `true`, the tabs in a scrollable `TabBar` defaults
- Component theme normalization3.27.0breaking
CardTheme`, `DialogTheme` and `TabBarTheme` were refactored to conform to Flutter's conventions for component themes. `CardThemeData`, `DialogThemeData`, and `TabBarThemeData` were added to define overrides for the defaults
- Deprecate ThemeData.indicatorColor in favor of TabBarThemeData.indicatorColor3.32.0deprecated
ThemeData.indicatorColor` parameter was deprecated in favor of the `TabBarThemeData.indicatorColor` parameter. The `ThemeData.indicatorColor` is deprecated in favor of a component-specific theme. Use `TabBarThemeData` to override the default indicator
- Allow TabBar to receive a TabBarScrollController3.44.0new-feature
Allow TabBar to receive a TabBarScrollController (Material, by @navaronbracke). TabBar TabBarScrollController
- Material Theme System Updates3.32.0breaking
CardTheme`, `DialogTheme` and `TabBarTheme` were refactored to conform to Flutter's conventions for component themes. `CardThemeData`, `DialogThemeData` and `TabBarThemeData` were added to define overrides for the defaults
- Fix default overlay color in `TabBar`3.38.0bugfix
default overlay color in `TabBar` (Material, by @ValentinVignal). TabBar
- Fix ink features painting in TabBar.3.41.0bugfix
features painting in TabBar. (Material, by @ksokolovskyi). TabBar
- Fix TabBar.image does not render at initialIndex for the first time3.41.0bugfix
TabBar.image does not render at initialIndex for the first time (Material, by @huycozy). TabBar.image
- Make sure that a TabBar doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a TabBar doesn't crash in 0x0 environment (Material, by @ahmedsameha1). TabBar
- Add TabBar API example for scroll notification integration3.44.0new-feature
TabBar API example for scroll notification integration (Material, by @huycozy). TabBar
- Make sure that a TabBarView doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a TabBarView doesn't crash in 0x0 environment (Material, by @ahmedsameha1). TabBarView
- fix: TabBar fontFamily inheritance with custom label styles3.38.0bugfix
TabBar fontFamily inheritance with custom label styles (Material, by @koji-1009). TabBar
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design