BottomSheetOptions class

Inheritance

Constructors

BottomSheetOptions({bool barrierDismissible = true, bool useRootNavigator = true, RouteSettings? routeSettings, Color barrierColor = kCupertinoModalBarrierColor, Offset? anchorPoint, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, AnimationController? transitionAnimationController, bool enableDrag = true, bool isScrollControlled = true, BoxConstraints? constraints})
const

Properties

anchorPoint Offset?
finalinherited
backgroundColor Color?
BottomSheet 背景色
final
barrierColor Color
背景颜色
finalinherited
barrierDismissible bool
barrierDismissible = true 默认为 true 可关闭
finalinherited
clipBehavior Clip?
final
constraints BoxConstraints?
final
elevation double?
底部阴影
final
enableDrag bool
开启滑动关闭 默认true
final
hashCode int
The hash code for this object.
no setterinherited
isScrollControlled bool
isScrollControlled = true 可全屏显示 默认 true
final
routeSettings RouteSettings?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
final
transitionAnimationController AnimationController?
final
useRootNavigator bool
finalinherited

Methods

copyWith({Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor, bool? barrierDismissible, bool? enableDrag, bool? isScrollControlled, RouteSettings? routeSettings, bool? useRootNavigator, AnimationController? transitionAnimationController, BoxConstraints? constraints, Offset? anchorPoint}) BottomSheetOptions
merge([BottomSheetOptions? options]) BottomSheetOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited