SelectInput constructor

const SelectInput({
  1. required List<SelectOption> options,
  2. String? value,
  3. String? placeholder,
  4. InputSize size = InputSize.md,
  5. bool disabled = false,
  6. bool required = false,
  7. String? name,
  8. String? id,
  9. String? label,
  10. String? error,
  11. void onChange(
    1. String
    )?,
  12. bool fullWidth = false,
  13. Key? key,
})

Implementation

const SelectInput({
  required this.options,
  this.value,
  this.placeholder,
  this.size = InputSize.md,
  this.disabled = false,
  this.required = false,
  this.name,
  this.id,
  this.label,
  this.error,
  this.onChange,
  this.fullWidth = false,
  super.key,
});