主题
BottomSheetTheme
Customizes the appearance of descendant BottomSheet controls.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
bgcolor | Optional[ColorValue] | None | Overrides the default value of bgcolor in all descendant BottomSheet controls. |
elevation | Optional[Number] | None | Overrides the default value of elevation in all descendant BottomSheet controls. |
shape | Optional[OutlinedBorder] | None | Overrides the default value of shape in all descendant BottomSheet controls. |
show_drag_handle | Optional[bool] | None | Overrides the default value of show_drag_handle in all descendant BottomSheet controls. |
clip_behavior | Optional[ClipBehavior] | None | Overrides the default value of clip_behavior in all descendant BottomSheet controls. |
size_constraints | Optional[BoxConstraints] | None | Overrides the default value of size_constraints in all descendant BottomSheet controls. |
barrier_color | Optional[ColorValue] | None | Overrides the default value of barrier_color in all descendant BottomSheet controls. |
drag_handle_color | Optional[ColorValue] | None | Overrides the default value of drag handle color in all descendant BottomSheet controls. |
shadow_color | Optional[ColorValue] | None | Overrides the default value of shadow color in all descendant BottomSheet controls. |