GNIconButton constructor

const GNIconButton({
  1. Key? key,
  2. required IconData icon,
  3. required VoidCallback onPressed,
  4. Color? btnColor,
  5. Color? iconColor,
  6. double? iconSize,
  7. EdgeInsetsGeometry? padding,
  8. BorderRadiusGeometry? borderRadius,
})

Implementation

const GNIconButton({
  super.key,
  required this.icon,
  required this.onPressed,
  this.btnColor,
  this.iconColor,
  this.iconSize,
  this.padding,
  this.borderRadius,
});