IconButton constructor
IconButton({
- required Widget icon,
- CmdCallback? onPressed,
- ButtonSize size = ButtonSize.small,
- EdgeInsets? padding,
- bool enabled = true,
- bool autofocus = false,
- String? focusId,
- FocusController? focusController,
- Key? key,
Implementation
IconButton({
required this.icon,
this.onPressed,
this.size = ButtonSize.small,
this.padding,
this.enabled = true,
this.autofocus = false,
this.focusId,
this.focusController,
super.key,
});