ListWheel.builder constructor

const ListWheel.builder({
  1. Key? key,
  2. FixedExtentScrollController? controller,
  3. required IndexedWidgetBuilder? itemBuilder,
  4. required int? itemCount,
  5. ValueChanged<int>? onScrollEnd,
  6. NotificationListenerCallback<ScrollNotification>? onNotification,
  7. ValueChanged<int>? onScrollStart,
  8. ValueChanged<int>? onScrollUpdate,
  9. WheelOptions? options,
})

Implementation

const ListWheel.builder({
  super.key,
  this.controller,
  required this.itemBuilder,
  required this.itemCount,
  this.onScrollEnd,
  this.onNotification,
  this.onScrollStart,
  this.onScrollUpdate,
  this.options,
})  : assert(itemBuilder != null && itemCount != null),
      childDelegateType = ListWheelChildDelegateType.builder,
      children = null;