Game class Null safety

Abstract base class for games

Inherit from it to update, paint, receive input and state changes in your game

Implementers

Constructors

Game()

Properties

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

lifecycleStateChange(AppLifecycleState state) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(Canvas canvas) → void
resize(Size size) → void
toString() String
A string representation of this object. [...]
inherited
update(double dt) → void

Operators

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