FastListView constructor
FastListView({
- required FastViewModel viewModel,
- ItemWidget? builder,
- Widget? headerView,
- Decoration? decoration = const BoxDecoration(),
- EdgeInsetsGeometry? padding = const EdgeInsets.all(0),
- EdgeInsetsGeometry? margin = const EdgeInsets.all(0),
- Widget? child,
- double? space = 0,
- double? runSpacing = 0,
- String? emptyMsg = '暂无数据!点我刷新',
- String? loadingTip = '加载中',
- 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,
});