BottomTabBarItem class
An interactive button within either material's BottomTabBar or the iOS themed CupertinoTabBar with an icon and title.
This class is rarely used in isolation. Commonly embedded in one of the bottom navigation widgets above.
See also:
Constructors
- BottomTabBarItem({@required Widget? icon, Widget? title, Widget? activeIcon, Color? backgroundColor, Widget? badge, String? badgeNo})
- Creates an item that is used with BottomTabBar.items.
Properties
- activeIcon ↔ Widget?
-
An alternative icon displayed when this bottom navigation item is
selected.
getter/setter pair
- backgroundColor ↔ Color?
-
The color of the background radial animation for material BottomTabBar.
getter/setter pair
- badge ↔ Widget?
-
the Badge ,used for unread message ...
getter/setter pair
- badgeNo ↔ String?
-
the Badge number , unread message ...
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ Widget?
-
The icon of the item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ Widget?
-
The title of the item. If the title is not provided only the icon will be shown when not used in a Material Design BottomTabBar.
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