ThemedNavigatorPage class
- Inheritance
-
- Object
- ThemedNavigatorItem
- ThemedNavigatorPage
Constructors
- ThemedNavigatorPage is a helper class to handle the view and their children.
Properties
-
children
→ List<
ThemedNavigatorItem> -
children is the children of the view. by default will be empty.
Be careful to use more than one level of children, only more than one level of children will work in
layout sidebar mode. Otherwise will only show the first level of children.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
icon is the icon of the view.
final
- label → Widget?
-
label is the label of the view.
Prevent use label and labelText at the same time.
finalinherited
- labelText → String?
-
labelText is the label of the view.
Prevent use label and labelText at the same time.
finalinherited
- onTap → void Function(ThemedNavigatorPushFunction )
-
no setter
- path → String
-
path is the path of the view.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showHeaderInSidebarMode → bool
-
showHeaderInSidebarMode indicates if the header should be displayed in sidebar mode.
By default is true.
final
- useDefaultRedirect → bool
-
useDefaultRedirect indicates if the view should redirect to the first child when is tapped.
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