You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_itemScrollController is instance of ItemScrollController
Environment
Android
Additional details
There's some crash in scrollable_positioned_list In LogCat happen it could be the reason ..
======== Exception caught by scheduler library =====================================================
The following UnsupportedError was thrown during a scheduler callback:
Unsupported operation: Infinity or NaN toInt
When the exception was thrown, this was the stack:
#0 double.toInt (dart:core-patch/double.dart:219:36)
#1 double.round (dart:core-patch/double.dart:182:34)
#2 _PositionedListState._schedulePositionNotificationUpdate.<anonymous closure> (package:scrollable_positioned_list/src/positioned_list.dart:315:45)
#3 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#4 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1090:9)
...
====================================================================================================
The text was updated successfully, but these errors were encountered:
Problem description
In some cases scrollTo (with animation) not scroll to the correct item (not even close)
Package:
package:scrollable_positioned_list/scrollable_positioned_list.dart
Steps to reproduce
I think 1 of the scenario When user see for example item number 30 and scrollTo get called with item 20 ...
I am calling it in this way:
_itemScrollController?.scrollTo(index: ayahIndex, duration: Duration(milliseconds: 300), alignment: 0.3);
_itemScrollController is instance of ItemScrollController
Environment
Android
Additional details
There's some crash in scrollable_positioned_list In LogCat happen it could be the reason ..
The text was updated successfully, but these errors were encountered: