ScreenAdaptationProvider class abstract

抽象类接口

Implementers

Constructors

ScreenAdaptationProvider()

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
setAutomatic(double wh) double
wh 传入width/height 返回较小的适配
setHeight(double height) double
height 传入height 返回 适配后的height
setSp(double fontSize) double
fontSize 传入fontSize 返回 适配后的fontSize
setWidth(double width) double
width 传入width 返回 适配后的width
toString() String
A string representation of this object.
inherited

Operators

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