Comments (3)
OK, I moved this one step further along, by forcing a rebuild of the widget tree using markNeedsBuild
. However, now the pagination widget will shorten the number of items displayed to the new length of the list, when one or more items are deleted, but it just removes widgets from the end of the list, it doesn't check whether the list has changed.
from infinite_scroll_pagination.
In case anyone else runs into this ussue, I think the solution is to use a unique ValueKey
for each item. However, I wrote my own grid view from scratch, so I'll close this now.
from infinite_scroll_pagination.
Related Issues (20)
- Appending an Empty Page when List is Empty, Signals Completion HOT 3
- Example breaks on grids HOT 1
- [Feature Request] Extension packages? HOT 1
- Pass exception and stacktrace to error builders HOT 1
- All items are loaded all at once in this simple repro case, why? HOT 1
- Flutter 3.13 issue: sliver_tools should be upgraded HOT 1
- Error: Cannot invoke a non-'const' HOT 8
- why don't use SliverAlignedGrid to make height of gridView depend on height of children HOT 1
- v4.0.0 Crashed in iOS
- Next page loading automatically with error HOT 1
- Unbounded height of PagedMasonryGridView in SliverList HOT 1
- PagedMasonryGridView Indicator NOT CENTERED, instead it's inserted inside grid HOT 5
- Simplify grid appendix location
- Race condition between page fetch and item list update causing item duplication HOT 9
- [Feature request] New PagedPositionedListView widget for scrolling to list item HOT 1
- Loading all items once when wrapped inside a scroll widget
- how to customize first index in grid view HOT 2
- Conflicting with Bloc | Bad state: Cannot add new events after calling close HOT 1
- Changing underlying list can cause exception to be thrown HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinite_scroll_pagination.