From c26464bbcfc76825476ae7db9c9964b77122bd6e Mon Sep 17 00:00:00 2001 From: alestiago Date: Thu, 10 Mar 2022 18:33:45 +0000 Subject: [PATCH] feat: unawait add operation --- lib/game/pinball_game.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index ee435aa6..948caa04 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -37,10 +37,12 @@ class PinballGame extends Forge2DGame await add(BottomWall(this)); addContactCallback(BottomWallBallContactCallback()); - await add( - FlipperGroup( - position: flippersPosition, - spacing: 2, + unawaited( + add( + FlipperGroup( + position: flippersPosition, + spacing: 2, + ), ), ); }