maxCrossAxis method
The maximum value that satisfies the constraints crossing the given axis.
Might be double.infinity.
Implementation
double maxCrossAxis(Axis axis) {
return axis == Axis.vertical ? maxWidth : maxHeight;
}
The maximum value that satisfies the constraints crossing the given axis.
Might be double.infinity.
double maxCrossAxis(Axis axis) {
return axis == Axis.vertical ? maxWidth : maxHeight;
}