From 49029db6ac0a43db818af854c9576ad6d8abd14f Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Thu, 24 Sep 2020 23:59:09 +0200 Subject: [PATCH] Fix linting --- lib/spritesheet.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spritesheet.dart b/lib/spritesheet.dart index a69896ed2..c222a19cb 100644 --- a/lib/spritesheet.dart +++ b/lib/spritesheet.dart @@ -38,7 +38,7 @@ class SpriteSheet { int x, int y, ) { - Vector2 size = Vector2(textureWidth.toDouble(), textureHeight.toDouble()); + final size = Vector2(textureWidth.toDouble(), textureHeight.toDouble()); return Sprite( imageName, position: Vector2(x.toDouble(), y.toDouble())..multiply(size),