Skip to main content
The Stac Spacer allows you to build a Flutter spacer widget using JSON. To know more about the spacer widget in Flutter, refer to the official documentation.

Properties

| Property | Type | Description | |----------|—chore-----|---------------------------------------------------------| | flex | int | The flex factor to use for the spacer. Defaults to 1. |

Example

StacSpacer(flex: 2)