FastListViewRefreshBuilder constructor

FastListViewRefreshBuilder({
  1. required FastViewModel viewModel,
  2. ItemWidgetBuilder? builder,
  3. Widget? headerView,
  4. Widget? footerView,
  5. Decoration decoration = const BoxDecoration(),
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(0),
  7. EdgeInsetsGeometry margin = const EdgeInsets.all(0),
  8. Widget? child,
  9. double space = 0,
  10. double runSpacing = 0,
  11. String emptyMsg = '暂无数据!点我刷新',
  12. String loadingTip = '加载中',
  13. required ScrollController controller,
})

Implementation

FastListViewRefreshBuilder({
  required this.viewModel,
  this.builder,
  this.headerView,
  this.footerView,
  this.decoration = const BoxDecoration(),
  this.padding = const EdgeInsets.all(0),
  this.margin = const EdgeInsets.all(0),
  this.child,
  this.space = 0,
  this.runSpacing = 0,
  this.emptyMsg = '暂无数据!点我刷新',
  this.loadingTip = '加载中',
  required this.controller,
});