VanList constructor

const VanList({
  1. Key? key,
  2. required int count,
  3. required IndexedWidgetBuilder itemBuilder,
  4. bool loading = false,
  5. bool finished = false,
  6. int offset = 300,
  7. String loadingText = '加载中...',
  8. String finishedText = '',
  9. String errorText = '',
  10. 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,
});