pub struct IconButtonTheme {
pub size: Option<f32>,
pub icon_size: Option<f32>,
pub color: Option<Color>,
pub icon_color: Option<Color>,
pub border_color: Option<Color>,
pub border_width: Option<f32>,
pub radius: Option<BorderRadius>,
pub tap_target: Option<TapTarget>,
}Expand description
Defaults for IconButton.
Fields§
§size: Option<f32>The box’s side.
icon_size: Option<f32>The glyph’s size inside it.
color: Option<Color>The surface under the glyph.
icon_color: Option<Color>The glyph’s colour.
border_color: Option<Color>The outline’s colour.
border_width: Option<f32>Its thickness; 0.0 removes it.
radius: Option<BorderRadius>The corner radii. Unset, an icon button is a circle.
tap_target: Option<TapTarget>How much room it reserves for a finger — the reference’s per-widget say over
the theme’s (icon_button.dart:708). Unset, the theme’s own answer.
Trait Implementations§
Source§impl Clone for IconButtonTheme
impl Clone for IconButtonTheme
impl Copy for IconButtonTheme
Source§impl Debug for IconButtonTheme
impl Debug for IconButtonTheme
Source§impl Default for IconButtonTheme
impl Default for IconButtonTheme
Source§impl PartialEq for IconButtonTheme
impl PartialEq for IconButtonTheme
impl StructuralPartialEq for IconButtonTheme
Auto Trait Implementations§
impl Freeze for IconButtonTheme
impl RefUnwindSafe for IconButtonTheme
impl Send for IconButtonTheme
impl Sync for IconButtonTheme
impl Unpin for IconButtonTheme
impl UnsafeUnpin for IconButtonTheme
impl UnwindSafe for IconButtonTheme
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