KSmoothListView constructor

const KSmoothListView({
  1. Key? key,
  2. required List<Widget> children,
  3. KSmoothScrollMode mode = KSmoothScrollMode.auto,
  4. KScrollIntensity intensity = KScrollIntensity.slow,
  5. SmoothScrollPhysics? customPhysics,
  6. bool addAutomaticKeepAlives = true,
  7. bool addRepaintBoundaries = true,
  8. bool addSemanticIndexes = true,
  9. double? cacheExtent,
  10. Clip clipBehavior = Clip.hardEdge,
  11. ScrollController? controller,
  12. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  13. double? itemExtent,
  14. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  15. EdgeInsetsGeometry? padding,
  16. ScrollPhysics? physics,
  17. bool? primary,
  18. Widget? prototypeItem,
  19. String? restorationId,
  20. bool reverse = false,
  21. Axis scrollDirection = Axis.vertical,
  22. int? semanticChildCount,
  23. bool shrinkWrap = false,
})

Implementation

const KSmoothListView({
  super.key,
  required this.children,
  this.mode = KSmoothScrollMode.auto,
  this.intensity = KScrollIntensity.slow,
  this.customPhysics,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.clipBehavior = Clip.hardEdge,
  this.controller,
  this.dragStartBehavior = DragStartBehavior.start,
  this.itemExtent,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.padding,
  this.physics,
  this.primary,
  this.prototypeItem,
  this.restorationId,
  this.reverse = false,
  this.scrollDirection = Axis.vertical,
  this.semanticChildCount,
  this.shrinkWrap = false,
});