FastListView constructor

FastListView({
  1. required FastViewModel viewModel,
  2. ItemWidget? 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. ScrollController? controller,
})

Implementation

FastListView({
  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 = '加载中',
  this.controller,
});