TabObject class
A class representing a 'tab' in a tab bar.
- Implementers
Constructors
- TabObject.forBasicTabbing({required IconData tabIcon, required String tabTitle, required String accessibilityHint, decorationPriority? tabPriority})
- TabObject.forIconTabbing({required IconData tabIcon, required VoidCallback onTabSelection, required String accessibilityHint, decorationPriority? tabPriority})
- TabObject.forTextTabbing({required String tabTitle, required VoidCallback onTabSelection, required String accessibilityHint, decorationPriority? tabPriority})
Properties
- accessibilityHint ↔ String
-
An accessibility hint for what happens when something is selected.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTabSelection ↔ VoidCallback
-
What should happen when the tab is selected
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabIcon ↔ IconData
-
The tab's icon
getter/setter pair
- tabPriority ↔ decorationPriority?
-
What tab priority should be (inactive, standard, etc)
getter/setter pair
- tabTitle ↔ String
-
The tab's title
getter/setter pair
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