Skip to main content

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.

The Stac Flexible allows you to build a Flutter flexible widget using JSON. To know more about the flexible widget in Flutter, refer to the official documentation.

Properties

PropertyTypeDescription
childStacWidgetThe widget to display inside the flexible widget.
flexintThe flex factor to use for the flexible widget. Defaults to 1.
fitStacFlexFitHow the child should be inscribed into the available space. Defaults to FlexFit.loose.

Example

StacFlexible(
  flex: 2,
  fit: StacFlexFit.tight,
  child: StacText(data: 'Hello, World!'),
)