KSmoothCustomScrollView constructor

const KSmoothCustomScrollView({
  1. Key? key,
  2. KSmoothScrollMode mode = KSmoothScrollMode.auto,
  3. KScrollIntensity intensity = KScrollIntensity.slow,
  4. SmoothScrollPhysics? customPhysics,
  5. Axis scrollDirection = Axis.vertical,
  6. bool reverse = false,
  7. ScrollController? controller,
  8. bool? primary,
  9. ScrollPhysics? physics,
  10. ScrollBehavior? scrollBehavior,
  11. bool shrinkWrap = false,
  12. Key? center,
  13. double anchor = 0.0,
  14. double? cacheExtent,
  15. List<Widget> slivers = const <Widget>[],
  16. int? semanticChildCount,
  17. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  18. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  19. String? restorationId,
  20. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const KSmoothCustomScrollView({
  super.key,
  this.mode = KSmoothScrollMode.auto,
  this.intensity = KScrollIntensity.slow,
  this.customPhysics,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.scrollBehavior,
  this.shrinkWrap = false,
  this.center,
  this.anchor = 0.0,
  this.cacheExtent,
  this.slivers = const <Widget>[],
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
});