ElevatedIconButton constructor
const
ElevatedIconButton({
- Key? key,
- required Widget label,
- required IconData icon,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - ButtonStyle? style,
- FocusNode? focusNode,
- bool? autofocus,
- Clip? clipBehavior,
- IconAlignment iconAlignment = IconAlignment.end,
- bool isLoading = false,
- 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,
});