ScreenUtils class

Constructors

ScreenUtils()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
mediaQueryData → MediaQueryData
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sh → double
scale height factor
no setter
sw → double
scale width factor
no setter
uiHeight ↔ double
getter/setter pair
uiWidth ↔ double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSp(num fontSize) → double
setSp
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

init(BuildContext context, {double? uiWidth, double? uiHeight}) → void