DropdownField<T> constructor

const DropdownField<T>({
  1. Key? key,
  2. String? label,
  3. required List<T> items,
  4. T? value,
  5. ValueChanged<T?>? onChanged,
  6. required String itemLabel(
    1. T
    )?,
})

Implementation

const DropdownField({
  super.key,
  this.label,
  required this.items,
  this.value,
  this.onChanged,
  required this.itemLabel,
});