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