NavItem class
Constructors
-
const
-
factory
Properties
- data → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → dynamic
-
no setter
- iconBuilder → NavCallback?
-
final
- key → Object
-
final
-
observers
→ List<
NavigatorObserver> -
final
-
onSelected
→ ValueGetter<
bool> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → bool
-
final
- title → String?
-
no setter
-
titleBuilder
→ NavCallback<
String> ? -
final
Methods
-
copyWith(
{Object? key, Object? data, bool? selected}) → NavItem -
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.
override