Widgets
Button
Tappable button with a label and a handler.
The handler is called on the UI goroutine. If the handler does expensive work, move it to a goroutine yourself.
Styles
ButtonStyle is accepted by Style:
ButtonDefault(zero value)ButtonPrimaryButtonDestructive
Do not apply OnTap to a Button
OnTap is for non-interactive views. Applying it to a Button panics with
a clear message; pass the handler to Button itself.
Color
The Color modifier applies to the label text:
Use semantic colors for theme-aware styling: