The Stac Outlined Button allows you to build a Flutter outlined button widget using JSON. To know more about the outlined button widget in Flutter, refer to the official documentation.Documentation Index
Fetch the complete documentation index at: https://docs.stac.dev/llms.txt
Use this file to discover all available pages before exploring further.
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. |
| child | StacWidget | The widget to display inside the button. |
Example
- Dart
- JSON
- Preview