Skip to content

Commit

Permalink
Use decelerate to pop out slider value (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyb99 committed Jul 26, 2020
1 parent f19164e commit 8fc4780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/flutter_fluid_slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ class _FluidSliderState extends State<FluidSlider>
//The radius of the slider thumb control
thumbDiameter = widget.thumbDiameter ?? 60.0;
_animationController = AnimationController(
duration: Duration(milliseconds: 200),
duration: Duration(milliseconds: 150),
vsync: this,
);

_thumbAnimation = CurvedAnimation(
curve: Curves.easeOut,
curve: Curves.bounceOut,
parent: _animationController,
);
}
Expand Down

0 comments on commit 8fc4780

Please sign in to comment.