Skip to content

Index parameter is not setting initial state of indicator #3

Description

@yoohoomedia

The Indicator always starts with the page 0 as the activate index regardless whether one specified an alternate index via constructor parameter.

To fix this one must use the index in the createAnimation call in initState():

Change from:
createAnimation(0.0, 0.0);

to:
createAnimation(widget.index!.toDouble(), widget.index!.toDouble());

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