The Stac Card allows you to build a Flutter Card widget using JSON. To know more about the Card 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 |
|---|---|---|
| color | StacColor | The background color of the card. |
| shadowColor | StacColor | The color of the card’s shadow. |
| surfaceTintColor | StacColor | The color of the card’s surface tint. |
| elevation | double | The z-coordinate at which to place this card. |
| shape | StacShapeBorder | The shape of the card’s border. |
| borderOnForeground | bool | Whether to paint the border in front of the child. Defaults to true. |
| margin | StacEdgeInsets | The empty space that surrounds the card. |
| clipBehavior | StacClip | The content will be clipped (or not) according to this option. |
| child | StacWidget | The widget below this widget in the tree. |
| semanticContainer | bool | Whether this card is a semantic container. Defaults to true. |
Example
- Dart
- JSON
- Preview