Migrate examples to null-safety (#707)

This commit is contained in:
Luan Nico
2021-03-24 19:04:33 -04:00
committed by GitHub
parent 98e8515518
commit 640bfea941
34 changed files with 146 additions and 145 deletions

View File

@ -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 {