mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
Migrate examples to null-safety (#707)
This commit is contained in:
@ -6,9 +6,9 @@ import 'package:flame/gestures.dart';
|
||||
import 'package:flutter/gestures.dart' show TapDownDetails;
|
||||
|
||||
class BasicAnimations extends BaseGame with TapDetector {
|
||||
Image chopper;
|
||||
Image creature;
|
||||
SpriteAnimation animation;
|
||||
late Image chopper;
|
||||
late Image creature;
|
||||
late SpriteAnimation animation;
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
|
||||
Reference in New Issue
Block a user