rvamsikrishna / inview_notifier_list

A Flutter package that builds a list view and notifies when the widgets are on screen.
MIT License
677 stars 104 forks source link

inView doesn't calculate until scrolled #17

Closed skylerknight closed 2 years ago

skylerknight commented 4 years ago

Hi there,

This is a great plugin. Very useful. One problem that I've found is that the inView variable isn't calculated until the user scrolls the list. I'm making a reorderable drag & drop feature, and it would be nice if I could determine if an item is inView before the user actually begins to scroll.

ManukumarSB commented 3 years ago

Hi there,

This is a great plugin. Very useful. One problem that I've found is that the inView variable isn't calculated until the user scrolls the list. I'm making a reorderable drag & drop feature, and it would be nice if I could determine if an item is inView before the user actually begins to scroll.

@skylerknight did you find any solution for this?

zeiasoroush commented 3 years ago

Any update on this?

rvamsikrishna commented 3 years ago

@skylerknight you can pass the id of the initial widget you want as in view to initialInViewIds

rvamsikrishna commented 2 years ago

@skylerknight Closing this issue. If doubt still exits please feel free to reopen.