PumaModalPicker constructor

const PumaModalPicker(
  1. int selectedIndex,
  2. List<String> items,
  3. String title,
  4. void onDone(
    1. String
    ),
  5. String buttonText, {
  6. required Color buttonColor,
  7. double itemExtent = 32,
  8. TextAlign titleAlign = TextAlign.left,
  9. TextStyle? textStyle,
})

Implementation

const PumaModalPicker(
  this.selectedIndex,
  this.items,
  this.title,
  this.onDone,
  this.buttonText, {
  required this.buttonColor,
  this.itemExtent = 32,
  this.titleAlign = TextAlign.left,
  this.textStyle,
});