ExtensionWidgetMethod extension

on

Methods

popupBottomSheet<T>({WidgetBuilder? builder, BottomSheetOptions? options}) Future<T?>
showModalBottomSheet 关闭 closePopup()
popupCupertinoDialog<T>({WidgetBuilder? builder, DialogOptions? options}) Future<T?>
Cupertino 风格的 Dialog showCupertinoDialog
popupCupertinoModal<T>({WidgetBuilder? builder, CupertinoModalPopupOptions? options}) Future<T?>
全屏显示 showCupertinoModalPopup
popupDialog<T>({RoutePageBuilder? builder, DialogOptions? options}) Future<T?>
showGeneralDialog
popupMaterialDialog<T>({WidgetBuilder? builder, DialogOptions? options}) Future<T?>
Material 风格的 Dialog showDialog
push<T extends Object?>(Widget widget, {PageRouteOptions options = const PageRouteOptions.material()}) Future<T?>
push
pushAndRemoveUntil<T extends Object?>(Widget widget, {PageRouteOptions options = const PageRouteOptions.material(), required RoutePredicate predicate}) Future<T?>
pushAndRemoveUntil
pushReplacement<T extends Object?, TO extends Object?>(Widget widget, {PageRouteOptions options = const PageRouteOptions.material(), TO? result}) Future<T?>
pushReplacement
showOverlay({bool autoOff = false}) ExtendedOverlayEntry?
ExtendedOverlay().showOverlay()