pub struct BottomSheetConfig {Show 13 fields
pub modifier: Modifier,
pub container_color: Color,
pub content_color: Color,
pub scrim_color: Color,
pub tonal_elevation: f32,
pub shadow_elevation: f32,
pub drag_handle_color: Color,
pub shape_radius: f32,
pub max_width: f32,
pub drag_handle_width: f32,
pub drag_handle_height: f32,
pub peek_height: f32,
pub gestures_enabled: bool,
}Expand description
Configuration for BottomSheet / ModalBottomSheet.
Fields§
§modifier: Modifier§container_color: Color§content_color: Color§scrim_color: Color§tonal_elevation: f32§shadow_elevation: f32§drag_handle_color: Color§shape_radius: f32§max_width: f32§drag_handle_width: f32§drag_handle_height: f32§peek_height: f32§gestures_enabled: boolTrait Implementations§
Source§impl Clone for BottomSheetConfig
impl Clone for BottomSheetConfig
Source§fn clone(&self) -> BottomSheetConfig
fn clone(&self) -> BottomSheetConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BottomSheetConfig
impl Debug for BottomSheetConfig
Auto Trait Implementations§
impl !RefUnwindSafe for BottomSheetConfig
impl !Send for BottomSheetConfig
impl !Sync for BottomSheetConfig
impl !UnwindSafe for BottomSheetConfig
impl Freeze for BottomSheetConfig
impl Unpin for BottomSheetConfig
impl UnsafeUnpin for BottomSheetConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more