ViewConfiguration class

The layout constraints for the root render object.

Implementers
Annotations

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.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The size of the output surface.
final

Methods

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

Operators

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