The Stac AspectRatio allows you to build a Flutter AspectRatio widget using JSON. To know more about the aspectRatio 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 |
|---|---|---|
aspectRatio | double | The desired width-to-height ratio for the child widget. Defaults to 1 (a square aspect ratio). |
child | StacWidget | The child widget that should adhere to the specified aspect ratio, represented as a JSON object. |
Example
- Dart
- JSON
- Preview