ListViewSettings constructor
const
ListViewSettings({
- Axis scrollDirection = Axis.vertical,
- bool shrinkWrap = true,
- bool reverse = false,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- Clip clipBehavior = Clip.hardEdge,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- EdgeInsetsGeometry? padding,
- IndexedWidgetBuilder? separatorBuilder,
- double? cacheExtent,
- 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});