size property

SpaceSize? size
final

The amount of space from Spacing this widget takes in the direction of its parent.

For example:

  • If the parent is a Column this is the height of this widget.
  • If the parent is a Row this is the width of this widget.

Must not be null and must be positive.

If null, then mainAxisExtent should be defined.

Implementation

final SpaceSize? size;