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