Expose the duration parameter of the AnimationController for the swiping animation by adding a new swipeAnimationDuration property to both the SwipingCardDeck and SwipingGestureDetector widgets. The property parameter is optional, with a reasonable default of 500 milliseconds. Updated the example usage to include this new optional parameter. Now the duration of the swiping animation can be set faster or slower as desired.
Expose the
duration
parameter of theAnimationController
for the swiping animation by adding a newswipeAnimationDuration
property to both theSwipingCardDeck
andSwipingGestureDetector
widgets. The property parameter is optional, with a reasonable default of 500 milliseconds. Updated the example usage to include this new optional parameter. Now the duration of the swiping animation can be set faster or slower as desired.Resolves #21