mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-13 11:20:19 +08:00
Small fixes and nits to make null-safe simpler (#686)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user