Skip to content

Exception by Animation Library #1

@funkystu

Description

@funkystu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions