AdaptCJHelper class

Constructors

AdaptCJHelper()

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

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

scaleHeight double
no setter
scaleText double
no setter
scaleWidth double
实际尺寸与UI设计的比例
no setter
screenBottomHeight double
no setter
stautsBarHeight double
no setter
uiSize Size
getter/setter pair

Static Methods

init() → dynamic
setHeight(num height) double
setSp(num fontSize) double
字体大小适配方法
setWidth(num width) double
根据UI设计的设备宽度适配