SilBottomSheet class
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
-
show({required BuildContext context, required Widget child, bool dismissible = true, dynamic isScrollControlled = true, BoxConstraints? constraints, Color? backgroundColor = Colors.transparent, double? elevation = 0, bool isSafeArea = true})
→ dynamic
-
显示底部Sheet
isDismissible 点击屏幕是否消失,默认true消失
isScrollControlled 默认true不限制高度,fals屏幕高度的(9.0/16.0)
constraints 约束,设置最大、最小高度、宽度
backgroundColor 背景颜色,默认透明
elevation 投影纵深度,默认0
isSafeArea 默认true在安全区域内,false自己处理