Damilare Jolayemi
Jun 9, 2022 ⋅ 11 min read

How to implement infinite scroll pagination in Flutter

Damilare Jolayemi Damilare is an enthusiastic problem-solver who enjoys building whatever works on the computer. He has a knack for slapping his keyboards till something works. When he's not talking to his laptop, you'll find him hopping on road trips and sharing moments with his friends, or watching shows on Netflix.

Recent posts:

Understanding Solid Js Props A Complete Guide From Beginner To Advanced

Understanding SolidJS props: A complete guide

Let’s see how SolidJS props work to promote component reusability, exploring basic to advanced concepts for a complete understanding.

Temitope Oyedele
Dec 7, 2023 ⋅ 11 min read
Eleventy Vs. Next.js Static-Site Generation

Eleventy vs. Next.js for static site generation

We evaluate Eleventy and Next.js and compare both static site generators in terms of performance, developer experience, scalability, and ecosystem.

Nelson Michael
Dec 7, 2023 ⋅ 11 min read
Build Full-Stack App React Goxygen

Build a full-stack app with React and Goxygen

We show how to use Goxgen to scaffold a full-stack React app. See how to integrate React with Go and modify Goxygen to suit your project requirements.

Clara Ekekenta
Dec 6, 2023 ⋅ 8 min read
Express Js Adoption Guide Overview Examples Alternatives

Express.js adoption guide: Overview, examples, and alternatives

Express.js is a Node.js framework for creating maintainable and fast backend web applications in JavaScript. In the fast-paced world of […]

Antonello Zanini
Dec 6, 2023 ⋅ 17 min read
View all posts

2 Replies to "How to implement infinite scroll pagination in Flutter"

  1. Very nice!

    I used your ListView example as the basis to create my own generic solution (now that infinite_scroll_pageination throws exceptions).
    Only I would suggest is a small change, otherwise you’ll be hitting the servers a lot more than needed and continuously rebuilding elements…

    return ListView.builder(
    itemCount: _posts.length + (_isLastPage ? 0 : 1),
    itemBuilder: (context, index) {

    if (! _isLastPage && index == _posts.length – _nextPageTrigger) { // Don’t pull if last page

Leave a Reply