frameSizeOn method
The frame size choice depends on the orientation.
Implementation
Size frameSizeOn(Orientation orientation) =>
orientation == Orientation.portrait ? frameSize : frameSize.flipped;
The frame size choice depends on the orientation.
Size frameSizeOn(Orientation orientation) =>
orientation == Orientation.portrait ? frameSize : frameSize.flipped;