Parameters class Null safety

Constructors

Parameters({double viewWidth = 0, double viewHeight = 0, double gameWidth = 1000, double gameHeight = 1000})

Properties

gameHeight double
read / write
gameWidth double
read / write
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
viewHalfHeight double
read-only
viewHalfWidth double
read-only
viewHeight double
read-only
viewRect Rect
read / write
viewWidth double
read-only
worldBounds Rect
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setViewSize(double width, double height) → void
setWorldSize(double width, double height) → void
toString() String
A string representation of this object. [...]
override

Operators

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