Adapter class

Adapter is a global absolute positioning adapter, for Viewport(vw, vh).

Using Adapter.initialize to initialize the adapter. After that, import the package and write size by vw, vh anywhere

Constructors

Adapter()

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

aspectRatio double
getter/setter pair
padding EdgeInsets
getter/setter pair
vh double
getter/setter pair
vw double
getter/setter pair

Static Methods

initialize(BuildContext context) → void
setVH(double size) double
setVW(double size) double