BottomNavigationBarItem class
An interactive button within either material's BottomNavigationBar 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
-
Creates an item that is used with BottomNavigationBar.items. [...]
const
Properties
- activeIcon → Widget
-
An alternative icon displayed when this bottom navigation item is
selected. [...]
final
- backgroundColor → Color
-
The color of the background radial animation for material BottomNavigationBar. [...]
final
- icon → Widget
-
The icon of the item. [...]
final
- 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 BottomNavigationBar.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited