Search packages, repositories and app categories

GitHub repositoryisacjunior/lazy_loading_list

lazy_loading_list

Lazy loading Widget to load more items by the index of the item to increment you a list like infinite scroll.

lazy_loading_list project cover
Stars
5
Forks
1
Last push (UTC)
Mar 10, 2021
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

lazy_loading_list

Lazy loading Widget to load more by index item to incresent you list like infinite scroll.

Getting Started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  lazy_loading_list: version

In your library add the following import:

import 'package:lazy_loading_list/lazy_loading_list.dart';

Usage

ListView.builder(
    itemCount: items.length,
    itemBuilder: (BuildContext context, int index) {
        return LazyLoadingList(
            initialSizeOfItems: 10,
            index: index,
            child: buildItem(),
            loadMore: loadMoreItems,
            hasMore: hasMoreToLoad,
        );
    },
),
Isac GitHub avatar
GitHub author

Isac ↗

Software Engineer at Nubank

Uberlândia - BrazilOfficial website ↗
LanguagesDartRubySwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗