IconButton constructor

IconButton({
  1. required Widget icon,
  2. CmdCallback? onPressed,
  3. ButtonSize size = ButtonSize.small,
  4. EdgeInsets? padding,
  5. bool enabled = true,
  6. bool autofocus = false,
  7. String? focusId,
  8. FocusController? focusController,
  9. 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,
});