YmListView constructor

YmListView(
  1. List items,
  2. ScrollController scrollController, {
  3. Key? key,
  4. Size size = const Size(500, 500),
  5. bool hasMoreData = true,
  6. String loadMoreText = "没有更多了~",
  7. Color textColor = const Color(0xFF606FFF),
  8. required Function onItemBuilder,
  9. required Function onLoadMore,
})

Implementation

YmListView(
  this.items,
  this.scrollController, {
  Key? key,
  this.size = const Size(500, 500),
  this.hasMoreData = true,
  this.loadMoreText = "没有更多了~",
  this.textColor = const Color(0xFF606FFF),
  required this.onItemBuilder,
  required this.onLoadMore,

}) : super(key: key);