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

@ -4,11 +4,9 @@ import 'package:meta/meta.dart';
class Ember<T extends FlameGame> extends SpriteAnimationComponent
with HasGameRef<T> {
Ember({Vector2? position, Vector2? size, int? priority})
Ember({super.position, Vector2? size, super.priority})
: super(
position: position,
size: size ?? Vector2.all(50),
priority: priority,
anchor: Anchor.center,
);