BottomSheetTheme
Customizes the appearance of BottomSheet across the app.
Properties
-
barrier_color(ColorValue | None) –Overrides the default value of
BottomSheet.barrier_colorin all descendantBottomSheetcontrols. -
bgcolor(ColorValue | None) –Overrides the default value of
BottomSheet.bgcolorin all descendantBottomSheetcontrols. -
clip_behavior(ClipBehavior | None) –Overrides the default value of
BottomSheet.clip_behaviorin all descendantBottomSheetcontrols. -
drag_handle_color(ColorValue | None) –Overrides the default value of drag handle color in all descendant
BottomSheetcontrols. -
elevation(Number | None) –Overrides the default value of
BottomSheet.elevationin all descendantBottomSheetcontrols. -
shadow_color(ColorValue | None) –Overrides the default value of shadow color in all descendant
BottomSheetcontrols. -
shape(OutlinedBorder | None) –Overrides the default value of
BottomSheet.shapein all descendantBottomSheetcontrols. -
show_drag_handle(bool | None) –Overrides the default value of
BottomSheet.show_drag_handlein all descendantBottomSheetcontrols. -
size_constraints(BoxConstraints | None) –Overrides the default value of
BottomSheet.size_constraintsin all descendantBottomSheetcontrols.
Properties#
barrier_color
class-attribute
instance-attribute
#
barrier_color: ColorValue | None = None
Overrides the default value of BottomSheet.barrier_color in all descendant BottomSheet controls.
bgcolor
class-attribute
instance-attribute
#
bgcolor: ColorValue | None = None
Overrides the default value of BottomSheet.bgcolor in all descendant BottomSheet controls.
clip_behavior
class-attribute
instance-attribute
#
clip_behavior: ClipBehavior | None = None
Overrides the default value of BottomSheet.clip_behavior in all descendant BottomSheet controls.
drag_handle_color
class-attribute
instance-attribute
#
drag_handle_color: ColorValue | None = None
Overrides the default value of drag handle color in all descendant BottomSheet controls.
elevation
class-attribute
instance-attribute
#
elevation: Number | None = None
Overrides the default value of BottomSheet.elevation in all descendant BottomSheet controls.
shadow_color
class-attribute
instance-attribute
#
shadow_color: ColorValue | None = None
Overrides the default value of shadow color in all descendant BottomSheet controls.
shape
class-attribute
instance-attribute
#
shape: OutlinedBorder | None = None
Overrides the default value of BottomSheet.shape in all descendant BottomSheet controls.
show_drag_handle
class-attribute
instance-attribute
#
show_drag_handle: bool | None = None
Overrides the default value of BottomSheet.show_drag_handle in all descendant BottomSheet controls.
size_constraints
class-attribute
instance-attribute
#
size_constraints: BoxConstraints | None = None
Overrides the default value of BottomSheet.size_constraints in all descendant BottomSheet controls.