pub struct RadioTheme {
pub selected_color: Option<Color>,
pub border_color: Option<Color>,
pub active_border_color: Option<Color>,
pub label_color: Option<Color>,
pub tap_target: Option<TapTarget>,
pub overlay_color: Option<WidgetStateProperty<Color>>,
pub splash_radius: Option<f32>,
pub visual_density: Option<VisualDensity>,
}Expand description
Defaults for RadioGroup.
Fields§
§selected_color: Option<Color>The ring and the dot of the chosen option.
border_color: Option<Color>The ring of an option that is not chosen, at rest.
active_border_color: Option<Color>That ring under a pointer, a finger or focus.
label_color: Option<Color>The labels.
tap_target: Option<TapTarget>How much room it reserves for a finger — the reference’s per-widget say over
the theme’s (radio.dart:734). Unset, the theme’s own answer.
overlay_color: Option<WidgetStateProperty<Color>>The halo under a pointer, the keyboard or a finger, state by state. Unset, the reference’s (milestone 635).
splash_radius: Option<f32>That halo’s radius. Unset, 20.
visual_density: Option<VisualDensity>How compact a radio is. Unset, the theme’s density.
Trait Implementations§
Source§impl Clone for RadioTheme
impl Clone for RadioTheme
Source§impl Debug for RadioTheme
impl Debug for RadioTheme
Source§impl Default for RadioTheme
impl Default for RadioTheme
Source§impl PartialEq for RadioTheme
impl PartialEq for RadioTheme
impl StructuralPartialEq for RadioTheme
Auto Trait Implementations§
impl Freeze for RadioTheme
impl RefUnwindSafe for RadioTheme
impl Send for RadioTheme
impl Sync for RadioTheme
impl Unpin for RadioTheme
impl UnsafeUnpin for RadioTheme
impl UnwindSafe for RadioTheme
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