From c2e681c6fe4091f3966e1f22458837311d35df9e Mon Sep 17 00:00:00 2001 From: Julian Bissekkou Date: Tue, 12 Mar 2024 18:17:32 +0100 Subject: [PATCH] update dcos --- .fvm/flutter_sdk | 1 + lib/gesture_listener.dart | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 120000 .fvm/flutter_sdk diff --git a/.fvm/flutter_sdk b/.fvm/flutter_sdk new file mode 120000 index 0000000..6f06b69 --- /dev/null +++ b/.fvm/flutter_sdk @@ -0,0 +1 @@ +/Users/julianbissekkou/fvm/versions/3.16.9 \ No newline at end of file diff --git a/lib/gesture_listener.dart b/lib/gesture_listener.dart index 3cbda4a..1e7a7c7 100644 --- a/lib/gesture_listener.dart +++ b/lib/gesture_listener.dart @@ -42,7 +42,8 @@ class _GestureListenerState extends State { final delta = event.delta; final primaryDelta = delta.dy; - /// ⚠️ If not assign the dx to 0, an assertion is not working. + /// ⚠️ If not assign the dx to 0, an assertion + /// in the constructor of [DragUpdateDetails] is thrown. final offset = Offset(0, primaryDelta); final details = DragUpdateDetails( @@ -62,7 +63,8 @@ class _GestureListenerState extends State { final pixelsPerSecondY = velocity.pixelsPerSecond.dy; - /// ⚠️ If not assign the dx to 0, an assertion is not working. + /// ⚠️ If not assign the dx to 0, an assertion + /// in the constructor of [DragEndDetails] is thrown. final offset = Offset(0, pixelsPerSecondY); final details = DragEndDetails( velocity: Velocity(pixelsPerSecond: offset),