ViewConfiguration class

The layout constraints for the root render object.

Implementers
Annotations
  • @immutable

Constructors

ViewConfiguration({Size size: Size.zero, double devicePixelRatio: 1.0})
Creates a view configuration. [...]
const

Properties

devicePixelRatio double
The pixel density of the output surface.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Size
The size of the output surface.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMatrix() Matrix4
Creates a transformation matrix that applies the devicePixelRatio.
toString() String
Returns a string representation of this object.
override

Operators

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