Commit ed4afafa authored by Adam Barth's avatar Adam Barth

Fix Dart analyzer warnings

parent 7a231905
...@@ -9,6 +9,4 @@ import 'package:sky/widgets/widget.dart'; ...@@ -9,6 +9,4 @@ import 'package:sky/widgets/widget.dart';
import 'package:sky/widgets/navigator.dart'; import 'package:sky/widgets/navigator.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
import '../main.dart';
part 'game_demo_world.dart'; part 'game_demo_world.dart';
...@@ -167,7 +167,7 @@ class Dismissable extends AnimatedComponent { ...@@ -167,7 +167,7 @@ class Dismissable extends AnimatedComponent {
_dragUnderway = false; _dragUnderway = false;
_dragX = event.velocityX.sign; _dragX = event.velocityX.sign;
_position.end = _activeCardDragEndPoint; _position.end = _activeCardDragEndPoint;
_fadePerformance.fling(velocity: event.velocityX.abs() * _kFlingVelocityScale); _fadePerformance.fling(Direction.forward, velocity: event.velocityX.abs() * _kFlingVelocityScale);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment