PrismDropdownItem<T> constructor

const PrismDropdownItem<T>({
  1. required T value,
  2. required String label,
  3. IconData? icon,
  4. bool enabled = true,
})

Creates a dropdown item.

Implementation

const PrismDropdownItem({
  required this.value,
  required this.label,
  this.icon,
  this.enabled = true,
});