NesIconButton constructor
const
NesIconButton({
- Key? key,
- required NesIconData icon,
- VoidCallback? onPress,
- VoidCallback? onPressStart,
- VoidCallback? onPressEnd,
- Size? size,
- Color? primaryColor,
- Color? secondaryColor,
- bool? disabled,
A button widget that wraps a NesIcon into a pressable button.
Implementation
const NesIconButton({
super.key,
required this.icon,
this.onPress,
this.onPressStart,
this.onPressEnd,
this.size,
this.primaryColor,
this.secondaryColor,
this.disabled,
});