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
- size → Size
-
The size 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
Methods
-
toMatrix(
) → Matrix4 - Creates a transformation matrix that applies the devicePixelRatio.
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited