BottomBarItem class

BottomBarItem class is model class for bottom menu. It takes icon, iconSelected, title, dotColor, titleStyle as parameters.

Constructors

BottomBarItem.new({required Widget icon, required Widget iconSelected, String? title, Color dotColor = AppColors.black, TextStyle? titleStyle, dynamic onTap(int value)?})
const

Properties

dotColor Color
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
final
iconSelected Widget
final
onTap → dynamic Function(int value)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
final
titleStyle TextStyle?
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