MarcinusX / NumberPicker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with infiniteLoop

SultanSaribas opened this issue · comments

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