Camera class Null safety

Constructors

Camera({Vector2? size, Vector2? position, Vector2? origin, double scale = 1.0})

Properties

bottom double
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
left double
read-only
origin Vector2
read / write
originalSize Vector2
read / write
position Vector2
read / write
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale double
read / write
scaledSize Vector2
read-only
size Vector2
read / write
top double
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(Canvas canvas, Vector2 position, Vector2 origin, double scale, Vector2 size, void renderView(Canvas canvas)) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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