Dimensions class Null safety

Constructors

Dimensions({dynamic width, dynamic height, dynamic aspectRatio})

Properties

aspectRatio ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width ↔ dynamic
read / write

Methods

getAspectRatioParam() Param?
Returns Param with the aspect ratio
getHeightParam() Param?
Returns Param with the height
getWidthParam() Param?
Returns Param with the width
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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