ListViewProps constructor

const ListViewProps({
  1. Axis scrollDirection = Axis.vertical,
  2. bool reverse = false,
  3. ScrollController? controller,
  4. bool? primary,
  5. ScrollPhysics? physics,
  6. bool shrinkWrap = true,
  7. EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(vertical: 0),
  8. double? itemExtent,
  9. bool addAutomaticKeepAlives = true,
  10. bool addRepaintBoundaries = true,
  11. bool addSemanticIndexes = true,
  12. double? cacheExtent,
  13. int? semanticChildCount,
  14. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  15. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  16. String? restorationId,
  17. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const ListViewProps({
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = true,
  this.padding = const EdgeInsets.symmetric(vertical: 0),
  this.itemExtent,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
});