Properties
| Property | Type | Description |
|---|---|---|
| onPressed | StacAction | The callback that is called when the button is tapped. |
| onLongPress | StacAction | The callback that is called when the button is long-pressed. |
| onHover | StacAction | The callback that is called when the button is hovered over. |
| onFocusChange | StacAction | The callback that is called when the button’s focus changes. |
| style | StacButtonStyle | The style to apply to the button. |
| autofocus | bool | Whether the button should be focused when the page is loaded. Defaults to false. |
| clipBehavior | StacClip | Determines how the content should be clipped. Defaults to Clip.none. |
| isSemanticButton | bool | Determine whether this subtree represents a button. Defaults to true. |
| child | StacWidget | The widget to display inside the button. |