Stac LimitedBox allows you to build the Flutter LimitedBox widget using JSON. To know more about the LimitedBox 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 |
|---|---|---|
maxHeight | double | The maximum height for the child if the parent’s height is unbounded. Defaults to double.infinity. |
maxWidth | double | The maximum width for the child if the parent’s width is unbounded. Defaults to double.infinity. |
child | StacWidget | The child widget represented as a JSON object. |
Example
Example 1: Limited Box with Default Constraints
- Dart
- JSON
- Preview