zero.appdocs

Flexible

Presentations v1.0 zero-schema

Sizes its child within a Row or Column by flex factor; a Tight fit fills the available space (the classic Expanded behaviour).

Required fields

PresentationType Child

Properties

PresentationType string required
Sizes its child within a Row or Column by flex factor; FlexFit Tight fills the available space, Loose (default) allows the child to be smaller.
Allowed Flexible
Flex integer, object optional
The flex property, used with Flexible, determines how much space a child widget should occupy relative to the other children within a Flex container. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default 1
FlexFit string optional
The fit property, used with the Flexible widget, controls whether a child widget should fill the available space
Default "Loose"
Allowed Loose Tight
Child object required
The Child property defines the child widget to be made flexible.