TabBarConfig class

Constructors

TabBarConfig({required List<String> tabs, required dynamic onSelect(int)?, required int tabIndex})
App bar tab settings. the tabs, onSelect and tabIndex parameters are required.

Properties

hashCode int
The hash code for this object.
no setterinherited
onSelect → (dynamic Function(int)?)
Callback function that is executed when a tab is selected. The index of the selected tab is provided as a parameter.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabIndex int
Index of the tab selected.
getter/setter pair
tabs List<String>
The titles of the tabs that will be added to the app bar.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited