Skip to content

Commit 58e2f3d

Browse files
committed
fix the end extend of dismissed actions
1 parent 87cdd28 commit 58e2f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/widgets/slidable.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class SlideToDismissDrawerDelegate extends SlideToDismissDelegate {
173173
final extentAnimations = Iterable.generate(count).map((index) {
174174
return new Tween(
175175
begin: actionExtent,
176-
end: totalExtent,
176+
end: totalExtent - (actionExtent * (ctx.state.actionCount - index - 1)),
177177
).animate(
178178
new CurvedAnimation(
179179
parent: ctx.state.overallMoveAnimation,

0 commit comments

Comments
 (0)