SimplePicker constructor

const SimplePicker({
  1. Key? key,
  2. required List<Widget> items,
  3. required dynamic onChange(
    1. int
    )?,
  4. required int selectedItemIndex,
  5. required TextStyle textStyle,
  6. required double itemExtent,
  7. Widget? selectionOverlay,
})

Implementation

const SimplePicker({
  Key? key,
  required this.items,
  required this.onChange,
  required this.selectedItemIndex,
  required this.textStyle,
  required this.itemExtent,
  this.selectionOverlay,
}) : super(key: key);