darioielardi / flutter_speed_dial

Flutter plugin to implement a Material Design Speed Dial
https://pub.dev/packages/flutter_speed_dial
MIT License
416 stars 178 forks source link

[Documentation] animationSpeed misguides the developers #243

Closed AbhishekDoshi26 closed 2 years ago

AbhishekDoshi26 commented 2 years ago

Using animationSpeed as the variable name misguides as it feels that increasing the integer value would increase the speed. However as it's being used inside duration, we have to decrease the integer value to increase the speed of animation.

Proposal: Refactor animationSpeed to animationDuration and also change the datatype from int to Duration

AbhishekDoshi26 commented 2 years ago

PR merged. Waiting for new release.