SimplePickerItem<T> constructor

const SimplePickerItem<T>({
  1. required Widget title,
  2. T? value,
  3. VoidCallback? onTap,
  4. bool enabled = true,
  5. Widget? subtitle,
  6. Widget? leading,
  7. Key? key,
})

Implementation

const SimplePickerItem({
  required this.title,
  this.value,
  this.onTap,
  this.enabled = true,
  this.subtitle,
  this.leading,
  super.key,
});