ListWheelState constructor

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

Implementation

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