Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fastdrag issue debug
Browse files Browse the repository at this point in the history
  • Loading branch information
soemre committed May 9, 2023
1 parent 5980cd3 commit 6d2e6c4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0"
version: "2.0.1"
fake_async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/draggable_menu/menu/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ class _DraggableMenuState extends State<DraggableMenu>
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;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 6d2e6c4

Please sign in to comment.