GNIconButton constructor
const
GNIconButton({
- Key? key,
- required IconData icon,
- required VoidCallback onPressed,
- Color? btnColor,
- Color? iconColor,
- double? iconSize,
- EdgeInsetsGeometry? padding,
- BorderRadiusGeometry? borderRadius,
Implementation
const GNIconButton({
super.key,
required this.icon,
required this.onPressed,
this.btnColor,
this.iconColor,
this.iconSize,
this.padding,
this.borderRadius,
});