BottomNavBarItem class

The BottomNavBar.items definition.

Constructors

BottomNavBarItem({required Widget icon, required String title, Color activeColor = Colors.blueAccent, Color? inactiveColor, Color activeBackgroundColor = Colors.black12, Color? inactiveBackgroundColor})

Properties

activeBackgroundColor Color
final
activeColor Color
Active color for icon and title Default: Colors.blueAccent.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
item's icon .
final
inactiveBackgroundColor Color?
final
inactiveColor Color?
Inactive color for icon and title Default: activeColor.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
item's title .
final

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