chore: Remove deprecations for v1.9.0 (#2749)

Removes everything that was marked as deprecated and that should be
removed for v1.9.0.
This commit is contained in:
Lukas Klingsbo
2023-09-19 16:47:41 +02:00
committed by GitHub
parent 7c2f400076
commit 9c1e1c3098
101 changed files with 238 additions and 287 deletions

View File

@ -107,7 +107,7 @@ class PlayerCustomPainter extends CustomPainter {
}
class Player extends CustomPainterComponent
with HasGameRef<CustomPainterExample> {
with HasGameReference<CustomPainterExample> {
static const speed = 150;
int direction = 1;
@ -126,7 +126,7 @@ class Player extends CustomPainterComponent
x += speed * direction * dt;
if ((x + width >= gameRef.size.x && direction > 0) ||
if ((x + width >= game.size.x && direction > 0) ||
(x <= 0 && direction < 0)) {
direction *= -1;
}