ListWheelState.looping constructor

const ListWheelState.looping({
  1. Key? key,
  2. FixedExtentScrollController? controller,
  3. ValueChanged<int>? onScrollEnd,
  4. List<Widget>? children,
  5. NotificationListenerCallback<ScrollNotification>? onNotification,
  6. ValueChanged<int>? onScrollStart,
  7. ValueChanged<int>? onScrollUpdate,
  8. WheelOptions? options,
  9. bool disposeController = true,
  10. int initialItem = 0,
  11. ValueCallback<FixedExtentScrollController>? onCreateController,
  12. Duration animateDuration = const Duration(milliseconds: 10),
  13. Curve curve = Curves.linear,
})

Implementation

const ListWheelState.looping({
  super.key,
  this.controller,
  this.onScrollEnd,
  this.children,
  this.onNotification,
  this.onScrollStart,
  this.onScrollUpdate,
  this.options,
  this.disposeController = true,
  this.initialItem = 0,
  this.onCreateController,
  this.animateDuration = const Duration(milliseconds: 10),
  this.curve = Curves.linear,
})  : assert(children != null),
      childDelegateType = ListWheelChildDelegateType.looping,
      itemBuilder = null,
      itemCount = null;