paginated_bloc_widget 1.0.0 copy "paginated_bloc_widget: ^1.0.0" to clipboard
paginated_bloc_widget: ^1.0.0 copied to clipboard

A powerful, flexible, and production-ready pagination widget for Flutter using BLoC pattern. Supports ListView, GridView, PageView, CustomScrollView, and Slivers with built-in loading states, error ha [...]

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-01-18 #

Added #

  • Initial release of paginated_bloc_widget
  • PaginatedDataBloc - Generic BLoC for pagination state management
  • PaginatedDataWidget - Flexible widget supporting multiple layouts
  • PaginatedDataRepository - Abstract repository for data fetching
  • InMemoryPaginatedRepository - In-memory implementation for testing
  • PaginatedResponse - Response model with pagination metadata

Features #

  • Support for ListView, GridView, PageView, and Sliver layouts
  • Built-in loading, error, and empty states
  • Pull-to-refresh support
  • Customizable load more threshold
  • Item update, remove, and add operations
  • Horizontal and vertical scrolling
  • Sliver headers support for CustomScrollView
  • Full documentation and examples

Layout Types #

  • PaginatedLayoutType.listView
  • PaginatedLayoutType.gridView
  • PaginatedLayoutType.pageView
  • PaginatedLayoutType.sliverList
  • PaginatedLayoutType.sliverGrid
  • PaginatedLayoutType.customScrollView

Events #

  • LoadFirstPage - Load initial data
  • LoadMoreData - Load next page
  • RefreshData - Refresh and reload
  • ResetPagination - Reset to initial state
  • UpdateItem<T> - Update existing item
  • RemoveItem<T> - Remove item from list
  • AddItem<T> - Add new item to list
3
likes
0
points
68
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful, flexible, and production-ready pagination widget for Flutter using BLoC pattern. Supports ListView, GridView, PageView, CustomScrollView, and Slivers with built-in loading states, error handling, and pull-to-refresh.

Repository (GitHub)
View/report issues

Topics

#pagination #bloc #infinite-scroll #listview #gridview

Documentation

Documentation

License

unknown (license)

Dependencies

bloc, equatable, flutter, flutter_bloc

More

Packages that depend on paginated_bloc_widget