RefreshListView constructor

const RefreshListView({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required int itemCount,
  4. EdgeInsetsGeometry? padding,
  5. ScrollController? scrollController,
  6. Future<RefreshState> onHeaderRefresh()?,
  7. Future<RefreshState> onFooterRefresh()?,
  8. Widget? listHeader,
  9. IndexedWidgetBuilder? separatorBuilder,
  10. ScrollPhysics physics = const AlwaysScrollableScrollPhysics(),
})

Implementation

const RefreshListView({
  Key? key,
  required this.itemBuilder,
  required this.itemCount,
  this.padding,
  this.scrollController,
  this.onHeaderRefresh,
  this.onFooterRefresh,
  this.listHeader,
  this.separatorBuilder,
  this.physics = const AlwaysScrollableScrollPhysics(),
}) : super(key: key);