appendable_list_view 0.0.2 copy "appendable_list_view: ^0.0.2" to clipboard
appendable_list_view: ^0.0.2 copied to clipboard

Appendable List View to implement infinite pagination

Usage #

AppendableListView<AdvertisementFeedModel, AdvertisementModel>(
    getPage: getFeed,
    itemBuilder: (context, models, index) {
    return CustomCard(
        item: models[index],
        onTap: () {
            HapticFeedback.lightImpact();
        });
    },
    onEmpty: Center(
        child: Text(
            "Oops! It's empty here...",
        ),
    ),
    loadingIndicator: LoadingWidget(),
),
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Appendable List View to implement infinite pagination

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, flutter_bloc

More

Packages that depend on appendable_list_view