KSelectButton constructor

const KSelectButton({
  1. Key? key,
  2. ControlSize size = ControlSize.regular,
  3. bool disabled = false,
  4. String? placeholder,
  5. bool success = false,
  6. bool warning = false,
  7. bool error = false,
  8. Widget? icon,
  9. Widget? suffixIcon,
  10. Widget? child,
  11. dynamic onPressed()?,
  12. dynamic onClear()?,
  13. bool clearable = false,
})

Implementation

const KSelectButton({
  super.key,
  this.size = ControlSize.regular,
  this.disabled = false,
  this.placeholder,
  this.success = false,
  this.warning = false,
  this.error = false,
  this.icon,
  this.suffixIcon,
  this.child,
  this.onPressed,
  this.onClear,
  this.clearable = false,
});