BottomNavigationItem class

The navigation item used by BottomNavigation

Constructors

BottomNavigationItem({required Widget icon, Widget? selectedIcon, Widget? title})
Creates a new bottom navigation item.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
The icon that represents this item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIcon Widget?
The icon that represents this item when selected. If null, icon is displayed.
final
title Widget?
The label of the item. If not provided, only icon is shown
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