ListWheel.builder constructor

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

Implementation

ListWheel.builder({
  super.key,
  required NullableIndexedWidgetBuilder itemBuilder,
  int? itemCount,
  this.controller,
  this.onScrollEnd,
  this.onNotification,
  this.onScrollStart,
  this.onScrollUpdate,
  this.options,
}) : delegate = ListWheelChildBuilderDelegate(
          builder: itemBuilder, childCount: itemCount);