Inheritance
System.Object
MaterialPageRoute
public class MaterialPageRoute : PageRoute, LocalHistoryRoute
Constructors
Declaration
public MaterialPageRoute(WidgetBuilder builder = null, RouteSettings settings = null, bool maintainState = true, bool fullscreenDialog = false)
Parameters
Fields
Declaration
public readonly WidgetBuilder builder
Field Value
Properties
Declaration
public override Color barrierColor { get; }
Property Value
Overrides
maintainState
Declaration
public override bool maintainState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override TimeSpan transitionDuration { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
Overrides
Methods
Declaration
public override Widget buildPage(BuildContext context, Animation<float> animation, Animation<float> secondaryAnimation)
Parameters
Returns
Overrides
Declaration
public override Widget buildTransitions(BuildContext context, Animation<float> animation, Animation<float> secondaryAnimation, Widget child)
Parameters
Returns
Overrides
Declaration
public override bool canTransitionFrom(TransitionRoute previousRoute)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override bool canTransitionTo(TransitionRoute nextRoute)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides