ScreenSize constructor
ScreenSize({
- dynamic initialWidth,
- dynamic initialHeight,
- dynamic width,
- dynamic height,
Implementation
ScreenSize({initialWidth, initialHeight, width, height}) {
func_call.malInfo();
defaultHeight = initialHeight;
defaultWidth = initialWidth;
_width = width;
_height = height;
_widthMultiplyingFactor = _width! / defaultWidth!;
_heightMultiplyingFactor = _height! / defaultHeight!;
print('this width ' + _width.toString());
print('default width ' + defaultWidth.toString());
print('this height ' + _height.toString());
print('default height ' + defaultHeight.toString());
print('default heightMulti ' + _widthMultiplyingFactor.toString());
print('default widthMulti' + _heightMultiplyingFactor.toString());
}