ExpandingBottomBar class
Main BottomNavigationBar class
Constructors
-
ExpandingBottomBar({@required List<
ExpandingBottomBarItem> items, Duration animationDuration: const Duration(milliseconds: 200), int selectedIndex: 0, ValueChanged<int> onIndexChanged, Color backgroundColor: Colors.white })
Properties
- animationDuration → Duration
-
Duration of the selection animation
final
- backgroundColor → Color
-
The background color of the BottomNavigationBar
final
-
items
→ List<
ExpandingBottomBarItem> -
Items in the BottomNavigationBar
final
-
Height of the navigation bar item
final
-
onIndexChanged
→ ValueChanged<
int> -
Callback when an item is selected
final
- selectedIndex → int
-
The selected index of the bar
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createState(
) → _ExpandingBottomBarState - Creates the mutable state for this widget at a given location in the tree. [...]
-
createElement(
) → StatefulElement -
Creates a
StatefulElement
to manage this widget's location in the tree. [...]inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
@pragma("vm:entry-point"), inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited