Inheritance
System.Object
ModalRoute
public abstract class ModalRoute : LocalHistoryRouteTransitionRoute, LocalHistoryRoute
Constructors
Declaration
protected ModalRoute(RouteSettings settings)
Parameters
Fields
Declaration
public static Color _kTransparent
Field Value
Declaration
public readonly FocusScopeNode focusScopeNode
Field Value
Properties
Declaration
public override Animation<float> animation { get; }
Property Value
Overrides
Declaration
public virtual Color barrierColor { get; }
Property Value
Declaration
public virtual bool barrierDismissible { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool canPop { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool hasScopedWillPopCallback { get; }
Property Value
Type |
Description |
System.Boolean |
|
maintainState
Declaration
public virtual bool maintainState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool offstage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override Animation<float> secondaryAnimation { get; }
Property Value
Overrides
subtreeContext
Declaration
public BuildContext subtreeContext { get; }
Property Value
Methods
Declaration
public void addScopedWillPopCallback(WillPopCallback callback)
Parameters
buildPage(BuildContext, Animation<Single>, Animation<Single>)
Declaration
public abstract Widget buildPage(BuildContext context, Animation<float> animation, Animation<float> secondaryAnimation)
Parameters
Returns
buildTransitions(BuildContext, Animation<Single>, Animation<Single>, Widget)
Declaration
public virtual Widget buildTransitions(BuildContext context, Animation<float> animation, Animation<float> secondaryAnimation, Widget child)
Parameters
Returns
Declaration
protected override void changedExternalState()
Overrides
Declaration
protected override void changedInternalState()
Overrides
Declaration
public override ICollection<OverlayEntry> createOverlayEntries()
Returns
Type |
Description |
System.Collections.Generic.ICollection<OverlayEntry> |
|
Overrides
Declaration
protected override void didChangePrevious(Route previousRoute)
Parameters
Type |
Name |
Description |
Route |
previousRoute |
|
Overrides
Declaration
protected override TickerFuture didPush()
Returns
Overrides
Declaration
protected override void dispose()
Overrides
install(OverlayEntry)
Declaration
protected override void install(OverlayEntry insertionPoint)
Parameters
Overrides
of(BuildContext)
Declaration
public static ModalRoute of(BuildContext context)
Parameters
Returns
Declaration
public void removeScopedWillPopCallback(WillPopCallback callback)
Parameters
Declaration
protected virtual void setState(VoidCallback fn)
Parameters
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override IPromise<RoutePopDisposition> willPop()
Returns
Overrides
Declaration
public RoutePredicate withName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns