Prop
Type
Default
Description
Label
string
—
The action text. A verb first: "Save changes", not "OK".
Variant
Variant
Primary
One of the ten semantic roles; resolves to a VariantColors five-tuple from IAppTheme.
Size
SizeVariant
Medium
Small / Medium / Large / XLarge. Height, padding, gap, label size, icon size, radius and hit target all come from Sizing.
OnPressed
Action?
null
Fires on release inside the hit rect.
Leading
IconGlyph?
null
Leading glyph, sized by Sizing.Icon(Size).
Loading
bool
false
Swaps the label for a spinner and blocks input; the measured width is held.
Disabled
bool
false
Paints at theme.DisabledOpacity (0.38) and leaves the focus order.
Expand
bool
false
Fills the available cross-axis width instead of hugging the label.