From 99a825850cb83285a44e15a296f3806ca21de829 Mon Sep 17 00:00:00 2001 From: dignow Date: Wed, 28 Jun 2023 23:06:01 +0800 Subject: [PATCH] trivial change Signed-off-by: dignow --- flutter/lib/models/input_model.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/models/input_model.dart b/flutter/lib/models/input_model.dart index 6960c1a61..e7ce5c585 100644 --- a/flutter/lib/models/input_model.dart +++ b/flutter/lib/models/input_model.dart @@ -335,7 +335,7 @@ class InputModel { // https://docs.flutter.dev/release/breaking-changes/trackpad-gestures // TODO(support zoom in/out) void onPointerPanZoomUpdate(PointerPanZoomUpdateEvent e) { - var delta = e.panDelta; + final delta = e.panDelta; _trackpadLastDelta = delta; var x = delta.dx.toInt();