fix: Remove deprecations for 1.10.0 (#2809)

Removed deprecations for 1.10.0 and fixes some small unreleased regressions found when going through the examples.
This commit is contained in:
Lukas Klingsbo
2023-10-11 15:57:25 +02:00
committed by GitHub
parent 97fff0ed2b
commit 5b67b8f14a
96 changed files with 824 additions and 4925 deletions

View File

@ -1,6 +1,7 @@
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flame/events.dart';
import 'package:flame/extensions.dart';
import 'package:flame/game.dart';
import 'package:flame/input.dart';
@ -34,7 +35,7 @@ class MyGame extends FlameGame with TapDetector {
),
size: Vector2(100, 50),
anchor: Anchor.center,
position: info.eventPosition.game,
position: info.eventPosition.widget,
),
);
}