ListWheelState constructor
const
ListWheelState({
- Key? key,
- FixedExtentScrollController? controller,
- bool disposeController = true,
- IndexedWidgetBuilder? itemBuilder,
- int? itemCount,
- ListWheelChildDelegateType childDelegateType = ListWheelChildDelegateType.looping,
- ValueChanged<
int> ? onScrollEnd, - List<
Widget> ? children, - NotificationListenerCallback<
ScrollNotification> ? onNotification, - ValueChanged<
int> ? onScrollStart, - ValueChanged<
int> ? onScrollUpdate, - WheelOptions? options,
- int initialItem = 0,
- Duration animateDuration = const Duration(milliseconds: 10),
- Curve curve = Curves.linear,
- 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});