ListWheelState constructor

const ListWheelState({
  1. Key? key,
  2. int initialItem = 0,
  3. FixedExtentScrollController? controller,
  4. bool disposeController = true,
  5. Duration animateDuration = const Duration(milliseconds: 10),
  6. Curve curve = Curves.linear,
  7. ValueCallback<FixedExtentScrollController>? onCreateController,
  8. required int count,
  9. required ListWheelStateBuilder builder,
})

Implementation

const ListWheelState(
    {super.key,
    this.initialItem = 0,
    this.controller,
    this.disposeController = true,
    this.animateDuration = const Duration(milliseconds: 10),
    this.curve = Curves.linear,
    this.onCreateController,
    required this.count,
    required this.builder});