pub struct BottomSheetDefaults;Expand description
Default values for bottom sheet / modal bottom sheet.
Implementations§
Source§impl BottomSheetDefaults
impl BottomSheetDefaults
pub const TONAL_ELEVATION: f32 = 0.0
pub const DRAG_HANDLE_WIDTH: f32 = 32.0
pub const DRAG_HANDLE_HEIGHT: f32 = 4.0
pub const SHAPE_RADIUS: f32 = 16.0
pub const PEEK_HEIGHT: f32 = 56.0
pub const MAX_WIDTH: f32 = 640.0
pub fn container_color() -> Color
pub fn content_color() -> Color
pub fn drag_handle_color() -> Color
pub fn scrim_color() -> Color
Auto Trait Implementations§
impl Freeze for BottomSheetDefaults
impl RefUnwindSafe for BottomSheetDefaults
impl Send for BottomSheetDefaults
impl Sync for BottomSheetDefaults
impl Unpin for BottomSheetDefaults
impl UnsafeUnpin for BottomSheetDefaults
impl UnwindSafe for BottomSheetDefaults
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