Skip to main content

BottomSheetTheme

Customizes the appearance of BottomSheet across the app.

BottomSheetTheme class has the following properties:

bgcolor

Overrides the default value of BottomSheet.bgcolor in all descendant BottomSheet controls.

clip_behavior

Overrides the default value of BottomSheet.clip_behavior in all descendant BottomSheet controls.

drag_handle_color

Overrides the default value of BottomSheet.drag_handle_color in all descendant BottomSheet controls.

elevation

Overrides the default value of BottomSheet.elevation in all descendant BottomSheet controls.

Overrides the default value of BottomSheet.modal_barrier_color in all descendant BottomSheet controls.

Overrides the default value of BottomSheet.modal_bgcolor in all descendant BottomSheet controls.

Overrides the default value of BottomSheet.modal_elevation in all descendant BottomSheet controls.

shadow_color

Overrides the default value of BottomSheet.shadow_color in all descendant BottomSheet controls.

shape

Overrides the default value of BottomSheet.shape in all descendant BottomSheet controls.

show_drag_handle

Overrides the default value of BottomSheet.show_drag_handle in all descendant BottomSheet controls.

size_constraints

Overrides the default value of BottomSheet.size_constraints in all descendant BottomSheet controls.

Value is of type BoxConstraints.

surface_tint_color

Overrides the default value of BottomSheet.surface_tint_color in all descendant BottomSheet controls.