Skip to content

Commit d0273a2

Browse files
committed
fix the end extend of actions
1 parent 5845a89 commit d0273a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/widgets/slidable.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ 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 -
177+
(actionExtent * (ctx.state.actionCount - index)),
177178
).animate(
178179
new CurvedAnimation(
179180
parent: ctx.state.overallMoveAnimation,

0 commit comments

Comments
 (0)