constrainedAxis property

Axis constrainedAxis
final

The axis to retain constraints on, if any.

If not set, or set to null (the default), neither axis will retain its constraints. If set to Axis.vertical, then vertical constraints will be retained, and if set to Axis.horizontal, then horizontal constraints will be retained.

Implementation

final Axis constrainedAxis