FLUTTER ECOSYSTEM

isacjunior/lazy_loading_list

लेजी लोडिंग विजेट जो आइटम के इंडेक्स के द्वारा एक सूची में अधिक आइटम लोड करता है, जैसे अनंत स्क्रॉल।

लेजी लोडिंग सूची प्रोजेक्ट कवर
Stars
5
Forks
1
अंतिम पुश (UTC)
10 मार्च 2021
प्रोजेक्ट स्थिति
सक्रिय
Isac GitHub avatar
GITHUB User

Isac ↗

Software Engineer at Nubank

भाषाएँDartRubySwiftKotlinObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

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,
        );
    },
),