I am using the scrollable_positioned_list as seen here https://pub.dev/packages/scrollable_positioned_list to scroll to a specific item when a notification occurs.
By default the builder take the index to identify which index to go to, but for my purpose i need to take the ID as identifier.
Is it possible to replace this :
itemScrollController.scrollTo(
index: 3,
duration: Duration(milliseconds: 500),
curve: Curves.easeInOut,
);
but to get to the ID of the object in the list ?