HomeNavItem class

Define the widget used in polkawallet app home page.

Constructors

HomeNavItem({required String text, required Widget content, Widget? icon, Widget? iconActive, bool isAdapter = false, dynamic onTap()?})

Properties

content Widget
Page content for this nav item.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
Icon display in BottomNavBar(Have been abandoned).
final
iconActive Widget?
Icon display in BottomNavBar(Have been abandoned).
final
isAdapter bool
V3 adapter
final
onTap ↔ dynamic Function()?
isAdapter=false&&Items.length>1 , To come into force
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text display in BottomNavBar.
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