mainAxisExtent property

double? mainAxisExtent
final

The amount of space 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 size should be defined.

Implementation

final double? mainAxisExtent;