inview_notifier_list
inview_notifier_list copied to clipboard
Please add cacheExtent to InViewNotifierList
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.
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.
By adding this parameter changes, it will make huge difference for most of the application.