ListWheel.count constructor

ListWheel.count({
  1. Key? key,
  2. required List<Widget> children,
  3. FixedExtentScrollController? controller,
  4. ValueChanged<int>? onScrollEnd,
  5. NotificationListenerCallback<ScrollNotification>? onNotification,
  6. ValueChanged<int>? onScrollStart,
  7. ValueChanged<int>? onScrollUpdate,
  8. WheelOptions? options,
  9. bool looping = false,
})

Implementation

ListWheel.count({
  super.key,
  required List<Widget> children,
  this.controller,
  this.onScrollEnd,
  this.onNotification,
  this.onScrollStart,
  this.onScrollUpdate,
  this.options,
  bool looping = false,
}) : delegate = looping
          ? ListWheelChildLoopingListDelegate(children: children)
          : ListWheelChildListDelegate(children: children);