Stack
The Stac Stack allows you to build a Flutter stack widget using JSON. To know more about the stack widget in Flutter, refer to the official documentation.Properties
Property | Type | Description |
---|---|---|
alignment | StacAlignmentDirectional | How to align the non-positioned and partially-positioned children. Defaults to StacAlignmentDirectional.topStart . |
clipBehavior | Clip | How to clip the content. Defaults to Clip.hardEdge . |
fit | StackFit | How to size the non-positioned children. Defaults to StackFit.loose . |
textDirection | TextDirection? | The text direction to use for resolving alignment. |
children | List<Map<String, dynamic>> | The list of widgets to display inside the stack. Defaults to an empty list. |