ScalingQuery constructor
ScalingQuery(
- dynamic context
Implementation
ScalingQuery(context) {
double width = MediaQuery.of(context).size.width;
double height = MediaQuery.of(context).size.height;
this._shortDimension = width < height ? width : height;
this._longDimension = width < height ? height : width;
}