UiBottomTabItem class

One slot in a UiBottomTabBar.

Annotations

Constructors

UiBottomTabItem({required String label, String? id, Widget? icon, Widget? activeIcon, int? badge})
const

Properties

activeIcon Widget?
Optional variant shown when the tab is selected.
final
badge int?
Numeric badge drawn in the top-right corner. Non-positive values are treated as "no badge".
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
Idle-state icon.
final
id String?
Stable identity for drawer ordering, independent of the translated label.
final
label String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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