Flutter使用BLoC进行分页

这个 GitHub 仓库展示了在 Flutter 应用中使用 BLoC(业务逻辑组件)设计模式进行分页操作。该仓库包含用于分页的 BLoC 类,以及实现分页所需的所有其他类和组件。这个项目作为一个示例,可以帮助你使分页操作更加有条理和易于阅读。

en-us

This GitHub repository demonstrates the use of the BLoC (Business Logic Component) design pattern for pagination in Flutter applications. The repository includes a BLoC class for pagination, as well as other classes and widgets necessary for implementing pagination. This project serves as an example that you can use to make pagination more organized and readable in your own projects.

演示

video.mp4

依赖

  • bloc
  • flutter_bloc
  • bloc_concurrency
  • equatable
  • dio

GitHub

查看 Github