SizeConfig class

A utility class to handle responsive UI design by calculating screen dimensions and scaling text, images, and other elements proportionally.

Constructors

SizeConfig()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(BoxConstraints constraints, Orientation orientation) → void
Initializes the SizeConfig with screen dimensions and orientation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

blockHeight double
getter/setter pair
blockWidth double
getter/setter pair
heightMultiplier double
getter/setter pair
imageSizeMultiplier double
getter/setter pair
isMobilePortrait bool
getter/setter pair
isPortrait bool
getter/setter pair
screenHeight double
getter/setter pair
screenWidth double
getter/setter pair
textMultiplier double
getter/setter pair
widthMultiplier double
getter/setter pair