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

BottomNavigationBarItem({@required Widget icon, @required Widget title, Color backgroundColor })
Creates an item that is used with BottomNavigationBar.items. [...]
const

Properties

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.
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 ==(other) bool
The equality operator. [...]
inherited