VanList constructor
const
VanList({
- Key? key,
- required int count,
- required IndexedWidgetBuilder itemBuilder,
- bool loading = false,
- bool finished = false,
- int offset = 300,
- String loadingText = '加载中...',
- String finishedText = '',
- String errorText = '',
- VoidCallback? load,
Implementation
const VanList({
super.key,
required this.count,
required this.itemBuilder,
this.loading = false,
this.finished = false,
this.offset = 300,
this.loadingText = '加载中...',
this.finishedText = '',
this.errorText = '',
this.load,
});