Small fixes and nits to make null-safe simpler (#686)

This commit is contained in:
Luan Nico
2021-02-26 09:45:50 -05:00
committed by GitHub
parent 09631a23a5
commit f6db096ac6
20 changed files with 41 additions and 62 deletions

View File

@@ -16,7 +16,7 @@ void main() {
class MyGame extends BaseGame with MouseMovementDetector {
static const speed = 200.0;
Vector2 position = Vector2(0, 0);
Vector2 position = Vector2.zero();
Vector2 target;
final Paint _blue = Paint()..color = const Color(0xFF0000FF);