Skip to content

Commit 7aa18b1

Browse files
committed
Fixes initialization issue
1 parent 72ecb7b commit 7aa18b1

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.0-dev.9
2+
### Fixed
3+
* Fixes an issue where we click on the Slidable instead of dragging it (https://github.com/letsar/flutter_slidable/pull/235).
4+
15
## 1.0.0-dev.8
26
### Fixed
37
* Fixes an issue where the Dismissible animation stopped in middle when the gesture was too fast.

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "1.0.0-dev.8"
71+
version: "1.0.0-dev.9"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter

lib/src/gesture_detector.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class _SlidableGestureDetectorState extends State<SlidableGestureDetector> {
7676

7777
void handleDragStart(DragStartDetails details) {
7878
startPosition = details.localPosition;
79+
lastPosition = startPosition;
7980
dragExtent = dragExtent.sign *
8081
overallDragAxisExtent *
8182
widget.controller.ratio *

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_slidable
22
description: A Flutter implementation of slidable list item with directional slide actions that can be dismissed.
3-
version: 1.0.0-dev.8
3+
version: 1.0.0-dev.9
44
homepage: https://github.com/letsar/flutter_slidable
55

66
environment:

0 commit comments

Comments
 (0)