ViewConfiguration class Null safety

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.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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
A string representation of this object.
override

Operators

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