mainAxisExtent property

double mainAxisExtent
final

The amount of space this widget takes in the direction of its ancestors.

For example:

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

Must not be null and must be positive.

Implementation

final double mainAxisExtent;