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.
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:coreChanging line 181 in
color_picker_widget.dartfromnew Tween(begin: 0, end: _lastColorList.length).animate(controller)to
new Tween(begin:0.0,end: _lastColorList.length).animate(controller)fixed it for me.
Thanks.