KSmoothListView constructor
const
KSmoothListView({
- Key? key,
- required List<
Widget> children, - KSmoothScrollMode mode = KSmoothScrollMode.auto,
- KScrollIntensity intensity = KScrollIntensity.slow,
- SmoothScrollPhysics? customPhysics,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- Clip clipBehavior = Clip.hardEdge,
- ScrollController? controller,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- double? itemExtent,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
- bool? primary,
- Widget? prototypeItem,
- String? restorationId,
- bool reverse = false,
- Axis scrollDirection = Axis.vertical,
- int? semanticChildCount,
- 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,
});