KSelect<T> constructor

const KSelect<T>({
  1. Key? key,
  2. Widget? icon,
  3. T? value,
  4. required List<KSelectOption<T>> options,
  5. String? placeholder,
  6. ControlSize size = ControlSize.regular,
  7. bool success = false,
  8. bool error = false,
  9. bool warning = false,
  10. bool disabled = false,
  11. bool clearable = false,
  12. dynamic onChange(
    1. T?
    )?,
})

Implementation

const KSelect({
  super.key,
  this.icon,
  this.value,
  required this.options,
  this.placeholder,
  this.size = ControlSize.regular,
  this.success = false,
  this.error = false,
  this.warning = false,
  this.disabled = false,
  this.clearable = false,
  this.onChange,
});