Expand description
Default RadioTileStyle impl driven by paint-recipe data.
RecipeRadioTileStyle ships the IntUI “selectable card” chrome: a
rounded surface with a reactive fill + border cascade driven by the
tile’s selection / hover / press / focus state, an optional elevation
shadow for the Elevated variant, and content inset by padding.
Like RecipeCardStyle, the body is a
single RadioTileFrame container widget that paints the chrome and
positions the content with a padding inset — a bespoke frame rather than
a ZStack, because a ZStack measures children at unspecified() and
would break the height-for-width measurement of the tile’s wrapping
description (its documented limitation).
The fill / border cascade mirrors
RecipeStandardItemStyle: a
selected tile shows the vivid AccentSubtle surface only while focused
and window-active, else the muted SelectedInactive; the keyboard focus
ring (BorderRole::Focused) appears only under
selected && focused && focus-visible.
Structs§
- Radio
Tile Recipe - Dimension recipe for
RecipeRadioTileStyle. Mirrors thepub constdefaults and allows per-instance overrides without a customRadioTileStyleimpl. - Recipe
Radio Tile Style - Default
RadioTileStyleshipped with Teksilo.
Constants§
- RADIO_
TILE_ BORDER_ WIDTH - RADIO_
TILE_ CORNER_ RADIUS - RADIO_
TILE_ FOCUS_ RING_ WIDTH - RADIO_
TILE_ PADDING - RADIO_
TILE_ SELECTED_ BORDER_ WIDTH - RADIO_
TILE_ SHADOW_ DENSITY - 0..=1 multiplier on the elevation shadow alpha at paint time (Elevated variant).
- RADIO_
TILE_ VERTICAL_ ROW_ HEIGHT - Fixed row height (logical px) for a
RadioTileGroupinTileLayout::Vertical— the compact settings-list arrangement.