ZetaDropdownItem<T> constructor

ZetaDropdownItem<T>({
  1. String? label,
  2. required T value,
  3. Widget? icon,
})

Creates a new ZetaDropdownItem

Implementation

ZetaDropdownItem({
  String? label,
  required this.value,
  this.icon,
}) {
  this.label = label ?? this.value.toString();
}