ALC class

Application layout config

Usage:

// For horizontal
AppLayout.getWidth(20);

// For vertical
AppLayout.getHeight(20);

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

height double
The vertical extent of this size
no setter
pixelRatio double
The number of device pixels for each logical pixel.
no setter
size Size
no setter
width double
The horizontal extent of this size.
no setter

Static Methods

getHeight(double pixels) double
Get the proportionate height as per screen size.
getWidth(double pixels) double
Get the proportionate width as per screen size.