Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception by Animation Library #1

Open
funkystu opened this issue Apr 4, 2018 · 1 comment
Open

Exception by Animation Library #1

funkystu opened this issue Apr 4, 2018 · 1 comment

Comments

@funkystu
Copy link
Contributor

funkystu commented Apr 4, 2018

Got this while using the library:
The following assertion was thrown while notifying listeners for AnimationController: type 'double' is not a subtype of type 'int' where double is from dart:core int is from dart:core

Changing line 181 in color_picker_widget.dart from
new Tween(begin: 0, end: _lastColorList.length).animate(controller)
to
new Tween(begin:0.0,end: _lastColorList.length).animate(controller)
fixed it for me.

Thanks.

@long1eu
Copy link
Owner

long1eu commented Apr 4, 2018

you should make a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants