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>,
}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.
Trait Implementations§
Source§impl Clone for RadioTheme
impl Clone for RadioTheme
impl Copy 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