VirtualListView constructor

VirtualListView({
  1. required List<Widget> children,
  2. int? width,
  3. int? height,
  4. int itemExtent = 1,
  5. int? estimatedItemExtent,
  6. bool variableHeight = false,
  7. String separator = '\n',
  8. bool handleKeys = true,
  9. bool mouseWheelEnabled = true,
  10. int mouseWheelDelta = 3,
  11. bool enableSelection = false,
  12. bool autoCopySelectionOnMouseUp = false,
  13. bool autoCopySelectionOnExit = false,
  14. bool clearSelectionAfterAutoCopy = true,
  15. ScrollController? controller,
  16. String? zoneId,
  17. Key? key,
})

Creates a virtualized list view.

Implementation

VirtualListView({
  required this.children,
  this.width,
  this.height,
  this.itemExtent = 1,
  this.estimatedItemExtent,
  this.variableHeight = false,
  this.separator = '\n',
  this.handleKeys = true,
  this.mouseWheelEnabled = true,
  this.mouseWheelDelta = 3,
  this.enableSelection = false,
  this.autoCopySelectionOnMouseUp = false,
  this.autoCopySelectionOnExit = false,
  this.clearSelectionAfterAutoCopy = true,
  this.controller,
  this.zoneId,
  super.key,
});