ListViewSettings constructor

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

Implementation

const ListViewSettings(
    {this.scrollDirection = Axis.vertical,
    this.shrinkWrap = true,
    this.reverse = false,
    this.addAutomaticKeepAlives = true,
    this.addRepaintBoundaries = true,
    this.addSemanticIndexes = true,
    this.dragStartBehavior = DragStartBehavior.start,
    this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
    this.clipBehavior = Clip.hardEdge,
    this.controller,
    this.primary,
    this.physics,
    this.padding,
    this.separatorBuilder,
    this.cacheExtent,
    this.restorationId});