From 6d2e6c437b4edcc06339f7dfef256ec4b12cccee Mon Sep 17 00:00:00 2001 From: emresoysuren Date: Tue, 9 May 2023 18:30:22 +0300 Subject: [PATCH] fastdrag issue debug --- CHANGELOG.md | 5 ++++- README.md | 4 ++-- example/pubspec.lock | 2 +- lib/src/draggable_menu/menu/menu.dart | 2 +- pubspec.yaml | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d46342..11f4ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -# 2.0.0 Release +# 2.0.1 Release +- `fastDrag` issue debug + +# Changes in 2.0.0 Release - Fixed some issues by changing its movement logic - Added new status to the Draggable Menu. Now you can detect whether the Menu will do the "expand, minimize and close" gestures. diff --git a/README.md b/README.md index 4b5b300..1065d00 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Flutter Draggable Menu (draggable_menu) -[![Pub](https://img.shields.io/badge/pub-v2.0.0-%237f7eff?style=flat&logo=flutter)](https://pub.dev/packages/draggable_menu) -[![GitHub](https://img.shields.io/badge/GitHub-v2.0.0-%237f7eff?style=flat&logo=github)](https://github.com/emresoysuren/draggable_menu) +[![Pub](https://img.shields.io/badge/pub-v2.0.1-%237f7eff?style=flat&logo=flutter)](https://pub.dev/packages/draggable_menu) +[![GitHub](https://img.shields.io/badge/GitHub-v2.0.1-%237f7eff?style=flat&logo=github)](https://github.com/emresoysuren/draggable_menu) With `draggable_menu`, create Draggable Menus as you want and make your app look way better and more convenient. diff --git a/example/pubspec.lock b/example/pubspec.lock index 777c10e..1c164ed 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -47,7 +47,7 @@ packages: path: ".." relative: true source: path - version: "2.0.0" + version: "2.0.1" fake_async: dependency: transitive description: diff --git a/lib/src/draggable_menu/menu/menu.dart b/lib/src/draggable_menu/menu/menu.dart index 98cb96e..3305567 100644 --- a/lib/src/draggable_menu/menu/menu.dart +++ b/lib/src/draggable_menu/menu/menu.dart @@ -680,7 +680,7 @@ class _DraggableMenuState extends State if (details.velocity.pixelsPerSecond.dy > (widget.fastDragVelocity ?? 1500)) { if ((widget.minimizeBeforeFastDrag == true && _boxHeight == null) || - (widget.minimizeBeforeFastDrag == false)) { + (widget.minimizeBeforeFastDrag != false)) { if ((widget.fastDragClose != false)) { _close(); return true; diff --git a/pubspec.yaml b/pubspec.yaml index ec23978..84bca76 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: draggable_menu description: Create Draggable Menus like some popular apps like Instagram, Snapchat, Facebook, Twitter etc. You can even make your Draggable Menus look identical to them. -version: 2.0.0 +version: 2.0.1 repository: https://github.com/emresoysuren/draggable_menu environment: