KIconButton constructor

const KIconButton({
  1. Key? key,
  2. required Widget child,
  3. dynamic onPressed()?,
  4. KIconButtonType type = KIconButtonType.regular,
  5. ControlSize size = ControlSize.regular,
  6. bool error = false,
  7. bool warning = false,
  8. bool success = false,
  9. bool disabled = false,
  10. bool loading = false,
})

Implementation

const KIconButton(
    {super.key,
    required this.child,
    this.onPressed,
    this.type = KIconButtonType.regular,
    this.size = ControlSize.regular,
    this.error = false,
    this.warning = false,
    this.success = false,
    this.disabled = false,
    this.loading = false});