ListWheel.builder constructor
const
ListWheel.builder({
- Key? key,
- FixedExtentScrollController? controller,
- required IndexedWidgetBuilder? itemBuilder,
- required int? itemCount,
- ValueChanged<
int> ? onScrollEnd, - NotificationListenerCallback<
ScrollNotification> ? onNotification, - ValueChanged<
int> ? onScrollStart, - ValueChanged<
int> ? onScrollUpdate, - 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;