inview_notifier_list icon indicating copy to clipboard operation
inview_notifier_list copied to clipboard

Please add cacheExtent to InViewNotifierList

Open rekonvald opened this issue 3 years ago • 2 comments

Problem I have list of images and videos(like feed) and when I scroll up and down - listview reloads them(items are getting redrawn)

Solution I would like to add cacheExtent property - is the size of the area that is drawn before being in the visible part of the screen. But unfortunately this plugin does not provide this functionality. Could you please add it to InViewNotifierList properties and than to ListView when you build it.

If you have better solution how to avoid such behaviour, I would be thankful.

rekonvald avatar Sep 16 '21 23:09 rekonvald

Having this same issue which results in the inViewState complaining.. This happens when ListView.builder disposes of a widget but the inViewState still tries to retrieve the widget's renderObject (which was disposes by the ListView), this results in an error.

inc16sec avatar Oct 21 '21 19:10 inc16sec

By adding this parameter changes, it will make huge difference for most of the application.

Purvik avatar Oct 27 '21 08:10 Purvik