fix: Deprecate HasGameRef in favor of HasGameReference (#3559)

This deprecates `HasGameRef` and suggests users to use
`HasGameReference` instead.
This commit is contained in:
Lukas Klingsbo
2025-04-14 20:45:17 +02:00
committed by GitHub
parent eaa2b442b7
commit a882261b63
17 changed files with 22 additions and 18 deletions

View File

@ -30,7 +30,7 @@ class ComposabilityExample extends FlameGame {
}
}
class ParentSquare extends RectangleComponent with HasGameRef {
class ParentSquare extends RectangleComponent with HasGameReference {
static final defaultPaint = BasicPalette.white.paint()
..style = PaintingStyle.stroke;