Run dart fix in lib

This commit is contained in:
LukasPoque
2023-11-06 14:27:16 +01:00
parent 8120cbea6d
commit 851d2df84e
5 changed files with 14 additions and 17 deletions

View File

@@ -49,7 +49,7 @@ class _FilamentGestureDetectorDesktopState
///
///
///
bool _scaling = false;
final bool _scaling = false;
bool _pointerMoving = false;
@@ -78,7 +78,7 @@ class _FilamentGestureDetectorDesktopState
// we don't want to end the zoom in the same frame, because this will destroy the camera manipulator (and cancel the zoom update).
// here, we just defer calling [zoomEnd] for 100ms to ensure the update is propagated through.
_scrollTimer = Timer(Duration(milliseconds: 100), () async {
_scrollTimer = Timer(const Duration(milliseconds: 100), () async {
await widget.controller.zoomEnd();
});
}