1、背景
闲来有空,升级了新的SDK版本,之前旧的组件不再可用,封装一个全新支持Dart“nullsafety”空安全特性、更加简单易用的ListView组件。
2、思路
利用NotificationListener的监听事件实现Pull up load more。
利用RefreshIndicator组件实现Pull down refresh。
3、代码
已开源上传至GITHUB,欢迎Star、Fork。
https://github.com/AndroidIosWebEmbeddedFirmwareDver/LazyLoadListView-Flutter
网友评论