pub struct RadioButtonScope { /* private fields */ }Expand description
A RadioButton and its builder.
Implementations§
Source§impl RadioButtonScope
impl RadioButtonScope
Sourcepub fn ring_color(self, paint: Paint) -> Self
pub fn ring_color(self, paint: Paint) -> Self
The ring around the button, selected or not. Where the design system fills a selected button, the fill takes this colour as well.
Source§impl RadioButtonScope
impl RadioButtonScope
Sourcepub fn accessible_name(self, name: impl Into<String>) -> Self
pub fn accessible_name(self, name: impl Into<String>) -> Self
The name assistive technology reads. With no visible label it is the control’s name; with one it replaces the label, and on an icon-only button it is read instead of the icon’s meaning.
Source§impl RadioButtonScope
impl RadioButtonScope
Sourcepub fn on_motion_finished(
self,
handler: impl FnMut(MotionFinished) + 'static,
) -> Self
pub fn on_motion_finished( self, handler: impl FnMut(MotionFinished) + 'static, ) -> Self
Runs once when this node’s size motion comes to rest, with the size it settled
at in dp. The node needs Modifier::motion for its size to move; without it
nothing is reported. A run interrupted by a newer size is not reported, only
the one that settles, and under reduced motion it arrives in the frame the
size changes in.
Trait Implementations§
Source§impl Drop for RadioButtonScope
impl Drop for RadioButtonScope
Auto Trait Implementations§
impl !RefUnwindSafe for RadioButtonScope
impl !Send for RadioButtonScope
impl !Sync for RadioButtonScope
impl !UnwindSafe for RadioButtonScope
impl Forget for RadioButtonScope
impl Freeze for RadioButtonScope
impl Move for RadioButtonScope
impl Unpin for RadioButtonScope
impl UnsafeUnpin for RadioButtonScope
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