Skip to content

Error with infiniteLoop #148

@SultanSaribas

Description

@SultanSaribas

When I set infiniteLoop to true such infiniteLoop: true, it throws me an error such as below. I couldn't find any information about the usage of this parameter. I saw, in the NumberPicker class, it is declared as ScrollController, but it is returned as InfiniteScrollController. I tried to change it, but still it doesn't work.
The following _TypeError was thrown building NumberPicker(state: _NumberPickerState#7c94f):
type 'ScrollController' is not a subtype of type 'InfiniteScrollController' in type cast

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