mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
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:
@ -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,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user