NiceSelect<T> constructor

const NiceSelect<T>({
  1. Key? key,
  2. required List<NiceSelectItem<T>> items,
  3. T? value,
  4. String? label,
  5. String? hint,
  6. String? errorText,
  7. bool enabled = true,
  8. ValueChanged<T?>? onChanged,
  9. Widget itemBuilder(
    1. NiceSelectItem<T>
    )?,
})

Implementation

const NiceSelect({
  super.key,
  required this.items,
  this.value,
  this.label,
  this.hint,
  this.errorText,
  this.enabled = true,
  this.onChanged,
  this.itemBuilder,
});