BarItem class
An interactive button with an icon and text
Constructors
- BarItem({String? label, String? image, IconData? iconData, Color? activeColor, Color? inactiveColor, BorderRadiusGeometry? borderRadius})
- Creates an item that is used with AnimatedTextBar.items.
Properties
- activeColor → Color?
-
The color of the selected BarItem.iconData or BarItem.image.
final
- borderRadius → BorderRadiusGeometry?
-
The border radius of the selected BarItem.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconData → IconData?
-
The icon data for this BarItem.
final
- image → String?
-
The image for this BarItem.
final
- inactiveColor → Color?
-
The color of the unselected BarItem.iconData or BarItem.image.
final
- label → String?
-
The text label for this BarItem.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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