pub struct IconButtonDefaults;Expand description
Default values for icon button components.
Implementations§
Source§impl IconButtonDefaults
impl IconButtonDefaults
pub const CONTAINER_SIZE: f32 = 40.0
pub const FILLED_CONTAINER_SIZE: f32 = 40.0
pub const MIN_INTERACTIVE_SIZE: f32 = 48.0
pub const STATE_LAYER_RADIUS: f32 = 20.0
pub fn content_color() -> Color
pub fn disabled_content_color() -> Color
pub fn filled_container_color() -> Color
pub fn filled_content_color() -> Color
pub fn filled_tonal_container_color() -> Color
pub fn filled_tonal_content_color() -> Color
pub fn colors() -> IconButtonColors
Sourcepub fn filled_colors() -> IconButtonColors
pub fn filled_colors() -> IconButtonColors
Compose’s filledIconButtonColors().
Sourcepub fn filled_tonal_colors() -> IconButtonColors
pub fn filled_tonal_colors() -> IconButtonColors
Compose’s filledTonalIconButtonColors().
Sourcepub fn outlined_colors() -> IconButtonColors
pub fn outlined_colors() -> IconButtonColors
Compose’s outlinedIconButtonColors() (transparent container, local content).
pub fn state_colors_default() -> StateColors
Auto Trait Implementations§
impl Freeze for IconButtonDefaults
impl RefUnwindSafe for IconButtonDefaults
impl Send for IconButtonDefaults
impl Sync for IconButtonDefaults
impl Unpin for IconButtonDefaults
impl UnsafeUnpin for IconButtonDefaults
impl UnwindSafe for IconButtonDefaults
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