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.
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
fromnew Tween(begin: 0, end: _lastColorList.length).animate(controller)
tonew Tween(begin:0.0,end: _lastColorList.length).animate(controller)
fixed it for me.Thanks.