ElevatedIconButton constructor

const ElevatedIconButton({
  1. Key? key,
  2. required Widget label,
  3. required IconData icon,
  4. VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. ValueChanged<bool>? onHover,
  7. ValueChanged<bool>? onFocusChange,
  8. ButtonStyle? style,
  9. FocusNode? focusNode,
  10. bool? autofocus,
  11. Clip? clipBehavior,
  12. IconAlignment iconAlignment = IconAlignment.end,
  13. bool isLoading = false,
  14. double iconSize = 24.0,
})

Implementation

const ElevatedIconButton({
  super.key,
  required this.label,
  required this.icon,
  this.onPressed,
  this.onLongPress,
  this.onHover,
  this.onFocusChange,
  this.style,
  this.focusNode,
  this.autofocus,
  this.clipBehavior,
  this.iconAlignment = IconAlignment.end,
  this.isLoading = false,
  this.iconSize = 24.0,
});