plushie/widget/radio
Radio button widget builder.
Types
Option type for radio properties.
pub type Opt {
Group(String)
Spacing(Int)
Width(length.Length)
Size(Float)
TextSize(Float)
Font(font.Font)
LineHeight(line_height.LineHeight)
Shaping(shaping.Shaping)
Wrapping(wrapping.Wrapping)
Style(String)
A11y(a11y.A11y)
}
Constructors
-
Group(String) -
Spacing(Int) -
Width(length.Length) -
Size(Float) -
TextSize(Float) -
Font(font.Font) -
LineHeight(line_height.LineHeight) -
Shaping(shaping.Shaping) -
Wrapping(wrapping.Wrapping) -
Style(String) -
A11y(a11y.A11y)
Values
pub fn line_height(r: Radio, lh: line_height.LineHeight) -> Radio
Set the line height.
pub fn new(
id: String,
value: String,
selected: option.Option(String),
label: String,
) -> Radio
Create a new radio builder.