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