NavigatorCancellableRoute extension

on

Methods

pushCancellableRoute<T extends Object?>(Route<T> route, Cancellable? cancellable) Future<T?>

Available on NavigatorState, provided by the NavigatorCancellableRoute extension

推入一个可撤销的route
showDialog<T>({required WidgetBuilder builder, Cancellable? cancellable, bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint}) Future<T?>

Available on NavigatorState, provided by the NavigatorCancellableRoute extension

推入一个可撤销的dialog