feat: Move to Flutter 3.0.0 and Dart 2.17.0 (#1713)

This upgrades all packages to Flutter 3.0.0 and fixes all analyze issues that came from that.
This commit is contained in:
Lukas Klingsbo
2022-06-08 08:04:40 +02:00
committed by GitHub
parent ad602ff963
commit 2a41d0d683
150 changed files with 495 additions and 802 deletions

View File

@ -186,11 +186,11 @@ class CollidablePolygon extends MyCollidable {
class CollidableRectangle extends MyCollidable {
CollidableRectangle(
Vector2 position,
Vector2 size,
Vector2 velocity,
ScreenHitbox screenHitbox,
) : super(position, size, velocity, screenHitbox) {
super.position,
super.size,
super.velocity,
super.screenHitbox,
) {
hitbox = RectangleHitbox()..renderShape = true;
add(hitbox!);
}
@ -198,11 +198,11 @@ class CollidableRectangle extends MyCollidable {
class CollidableCircle extends MyCollidable {
CollidableCircle(
Vector2 position,
Vector2 size,
Vector2 velocity,
ScreenHitbox screenHitbox,
) : super(position, size, velocity, screenHitbox) {
super.position,
super.size,
super.velocity,
super.screenHitbox,
) {
hitbox = CircleHitbox()..renderShape = true;
add(hitbox!);
}