Inheritance
System.Object
NavigatorState
public class NavigatorState : TickerProviderStateMixin<Navigator>, TickerProvider
Fields
Declaration
public readonly FocusScopeNode focusScopeNode
Field Value
Properties
Declaration
public OverlayState overlay { get; }
Property Value
Declaration
public bool userGestureInProgress { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
Declaration
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void didStartUserGesture()
Declaration
public void didStopUserGesture()
Declaration
public override void didUpdateWidget(StatefulWidget oldWidget)
Parameters
Overrides
Declaration
public override void dispose()
Overrides
Unity.UIWidgets.widgets.TickerProviderStateMixin<Unity.UIWidgets.widgets.Navigator>.dispose()
Declaration
public void finalizeRoute(Route route)
Parameters
Type |
Name |
Description |
Route |
route |
|
Declaration
public override void initState()
Overrides
Declaration
public IPromise<bool> maybePop(object result = null)
Parameters
Type |
Name |
Description |
System.Object |
result |
|
Returns
Type |
Description |
IPromise<System.Boolean> |
|
Declaration
public bool pop(object result = null)
Parameters
Type |
Name |
Description |
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public IPromise<object> popAndPushNamed(string routeName, object result = null, object arguments = null)
Parameters
Type |
Name |
Description |
System.String |
routeName |
|
System.Object |
result |
|
System.Object |
arguments |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public void popUntil(RoutePredicate predicate)
Parameters
Declaration
public IPromise<object> push(Route route)
Parameters
Type |
Name |
Description |
Route |
route |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public IPromise<object> pushAndRemoveUntil(Route newRoute, RoutePredicate predicate)
Parameters
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public IPromise<object> pushNamed(string routeName, object arguments = null)
Parameters
Type |
Name |
Description |
System.String |
routeName |
|
System.Object |
arguments |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public IPromise<object> pushNamedAndRemoveUntil(string newRouteName, RoutePredicate predicate, object arguments = null)
Parameters
Type |
Name |
Description |
System.String |
newRouteName |
|
RoutePredicate |
predicate |
|
System.Object |
arguments |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public IPromise<object> pushReplacement(Route newRoute, object result = null)
Parameters
Type |
Name |
Description |
Route |
newRoute |
|
System.Object |
result |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public IPromise<object> pushReplacementNamed(string routeName, object result = null, object arguments = null)
Parameters
Type |
Name |
Description |
System.String |
routeName |
|
System.Object |
result |
|
System.Object |
arguments |
|
Returns
Type |
Description |
IPromise<System.Object> |
|
Declaration
public void removeRoute(Route route)
Parameters
Type |
Name |
Description |
Route |
route |
|
Declaration
public void removeRouteBelow(Route anchorRoute)
Parameters
Type |
Name |
Description |
Route |
anchorRoute |
|
Declaration
public void replace(Route oldRoute = null, Route newRoute = null)
Parameters
Type |
Name |
Description |
Route |
oldRoute |
|
Route |
newRoute |
|
Declaration
public void replaceRouteBelow(Route anchorRoute = null, Route newRoute = null)
Parameters
Type |
Name |
Description |
Route |
anchorRoute |
|
Route |
newRoute |
|