KIconButton constructor
const
KIconButton({
- Key? key,
- required Widget child,
- dynamic onPressed()?,
- KIconButtonType type = KIconButtonType.regular,
- ControlSize size = ControlSize.regular,
- bool error = false,
- bool warning = false,
- bool success = false,
- bool disabled = false,
- 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});