NavigationPage class
NavigationPage is used to create a page into the NavigationRouter
Constructors
- Is used to create a new instance of NavigationPage
Properties
- builder → Widget Function()
-
builder is used to build the page and create an active
page
final
- fullscreenDialog → bool
-
fullscreenDialog is used to create a fullscreen dialog
page. Defaults to
false
final - hashCode → int
-
The hash code for this object.
no setterinherited
- maintainState → bool
-
maintainState If it is false the state of the page will
be discarded when navigating to another page. Defaults to
true
final - name → String?
-
name is used to name the page. Defaults to
null
final - path → String
-
path is the page's path like: /home. To declare a page's
param use this pattern "/:param-name" then use the
[PageArguments.params
'param-name'
] to get the data from the path like: /profile/:idfinal - restorationId → String?
-
NavigationPage.restorationId is used to save and restore the page's
state, if it is
null
then the state will not be saved. Defaults tonull
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionDuration → Duration?
-
transitionDuration is used to controls the animation
transition. Defaults to NavigationRouter.transitionDuration
final
- transitionsBuilder → RouteTransitionsBuilder?
-
NavigationPage.transitionsBuilder is used to create a custom transition
to the page. Defaults to System's Animation Transition
final
Methods
-
call(
PageArguments arguments) → bool - This is used internally
-
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