From 5f47adfab5f9fde3163b2275794d335c07242f5d Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Mon, 11 Apr 2022 14:21:27 -0500 Subject: [PATCH] chore: non-nullable onLoad --- .../pinball_components/lib/src/components/dash_animatronic.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pinball_components/lib/src/components/dash_animatronic.dart b/packages/pinball_components/lib/src/components/dash_animatronic.dart index 6787eb80..1ab7e76e 100644 --- a/packages/pinball_components/lib/src/components/dash_animatronic.dart +++ b/packages/pinball_components/lib/src/components/dash_animatronic.dart @@ -13,7 +13,7 @@ class DashAnimatronic extends SpriteAnimationComponent with HasGameRef { ); @override - Future? onLoad() async { + Future onLoad() async { await super.onLoad(); final spriteSheet = await gameRef.images.load(