BottomBarItem class

This contains information about the item that BottomBar has to display

Constructors

BottomBarItem({Key? key, required Widget icon, Widget? inactiveIcon, Widget? title, required Color activeColor, num backgroundColorOpacity = 0.15, Color? inactiveColor, Color? activeIconColor, Color? activeTitleColor})
This contains information about the item that BottomBar has to display
const

Properties

activeColor Color
Color of BottomBarItem when it is selected.
final
activeIconColor Color?
Color of a selected BottomBarItem icon
final
activeTitleColor Color?
Color of a selected BottomBarItem title
final
backgroundColorOpacity num
Opacity of the BottomBarItem active color
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
Icon of BottomBarItem
final
inactiveColor Color?
Color of BottomBarItem while it is not selected.
final
inactiveIcon Widget?
Icon to display when the BottombarItem is not active
final
key Key?
Key of BottomBarItem
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title Widget?
Title of BottomBarItem (Typically a Text widget)
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