CivicSelect<T> constructor

const CivicSelect<T>({
  1. Key? key,
  2. required T? value,
  3. required ValueChanged<T>? onChanged,
  4. required List<CivicSelectItem<T>> items,
  5. String? labelText,
  6. String? helperText,
  7. String? errorText,
  8. String? hintText,
  9. FocusNode? focusNode,
  10. bool autofocus = false,
  11. CivicStyle? style,
})

A select.

Implementation

const CivicSelect({
  super.key,
  required this.value,
  required this.onChanged,
  required this.items,
  this.labelText,
  this.helperText,
  this.errorText,
  this.hintText,
  this.focusNode,
  this.autofocus = false,
  this.style,
});