SimpleNavItemModel class
Defines the model for a menu item.
Contains the item's title widget, screen widget and optional action icons.
Constructors
-
Takes the required title
menuItemTitle
, a widgetscreen
and an optional list of actionshomeActions
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
homeActions
↔ List<
SimpleNavAction> ? -
An optional list of actions (Icons that perform an action via a callbackfunction)
getter/setter pair
-
The menu item name (String)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → Widget
-
The main Widget that will be shown and navigated (swiped)
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