ListWheel constructor

ListWheel({
  1. Key? key,
  2. FixedExtentScrollController? controller,
  3. IndexedWidgetBuilder? itemBuilder,
  4. int? itemCount,
  5. ListWheelChildDelegateType childDelegateType = ListWheelChildDelegateType.looping,
  6. ValueChanged<int>? onScrollEnd,
  7. List<Widget>? children,
  8. NotificationListenerCallback<ScrollNotification>? onNotification,
  9. ValueChanged<int>? onScrollStart,
  10. ValueChanged<int>? onScrollUpdate,
  11. WheelOptions? options,
})

Implementation

ListWheel({
  super.key,
  this.controller,
  this.itemBuilder,
  this.itemCount,
  this.childDelegateType = ListWheelChildDelegateType.looping,
  this.onScrollEnd,
  this.children,
  this.onNotification,
  this.onScrollStart,
  this.onScrollUpdate,
  this.options,
}) : assert(_checkType(childDelegateType, children, itemBuilder, itemCount));