getMaxExtent method
Gets the maximum extent in the current direction.
Implementation
double getMaxExtent(BoxConstraints constraints) {
return directionIsXAxis ? constraints.maxWidth : constraints.maxHeight;
}
Gets the maximum extent in the current direction.
double getMaxExtent(BoxConstraints constraints) {
return directionIsXAxis ? constraints.maxWidth : constraints.maxHeight;
}