screenSizeOn method
The screen size choice depends on the orientation.
Implementation
Size screenSizeOn(Orientation orientation) =>
orientation == Orientation.portrait ? screenSize : screenSize.flipped;
The screen size choice depends on the orientation.
Size screenSizeOn(Orientation orientation) =>
orientation == Orientation.portrait ? screenSize : screenSize.flipped;