CustomNavigationBarItem class

Constructors

CustomNavigationBarItem({required Widget icon, Widget? selectedIcon, Widget? title, Text? selectedTitle, int badgeCount = 0, bool showBadge = false})
Create a Custom Navigationbar Item.

Properties

badgeCount int
Notification badge count
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
The icon of the item Typically the icon is an Icon.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIcon Widget
An alternative icon displayed when this bottom navigation item is selected.
final
selectedTitle Widget?
Item selected title under icon
final
showBadge bool
hide or show badge
final
title Widget?
Item title under icon
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