NumberPicker icon indicating copy to clipboard operation
NumberPicker copied to clipboard

Error with infiniteLoop

Open SultanSaribas opened this issue 2 years ago • 2 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

SultanSaribas avatar Oct 11 '23 13:10 SultanSaribas

Have you fixed this issue?

ashellz avatar Dec 26 '24 15:12 ashellz

Have you fixed this issue?

No, it seemed it was related to the package code itself, so I switched to another package called “ carousel_slider”.

SultanSaribas avatar Dec 27 '24 22:12 SultanSaribas