The Stac Icon allows you to build a Flutter icon widget using JSON. To know more about the icon 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 |
|---|---|---|
| icon | String | The name of the icon to display. |
| iconType | StacIconType | The type of the icon (material, cupertino). Defaults to material. |
| size | double | The size of the icon. |
| color | StacColor | The color of the icon. |
| semanticLabel | String | The semantic label for the icon. |
| textDirection | StacTextDirection | The text direction for the icon. |
Note: To check the available icons, refer to Icon utils.
Example
- Dart
- JSON
- Preview