SizeUtil class

Constructors

SizeUtil.new()

Properties

designSize Size
no getter
hashCode int
The hash code for this object.
no setterinherited
height → dynamic
no setter
logicSize Size
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width → dynamic
no setter

Methods

getAxisBoth(double s) double
getAxisX(double w) double
getAxisY(double h) double
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 Methods

getInstance({dynamic key = SizeKeyConst.deviceKey}) SizeUtil?
initDesignSize() → dynamic