Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
dismiss<T>(BuildContext context, {T? result})
→ void
-
-
show<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings})
→ Future<T?>
-
-
showBottomSheet(dynamic context, Widget child, {Color? backgroundColor = Colors.white, double? elevation, Clip? clipBehavior, Color? barrierColor, bool isScrollControlled = false, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, bool safeArea = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, ShapeBorder? shape = const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(16.0)))})
→ Future
-
-
showBottomSheetByActions(dynamic context, {required List<PQBottomSheetAction> actions, Color? backgroundColor = Colors.white, double? elevation, Clip? clipBehavior, Color? barrierColor, bool isScrollControlled = false, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, bool safeArea = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, ShapeBorder? shape = const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(16.0)))})
→ Future
-
显示底部按钮区域,使用bottom sheet的形式