GNIconButton constructor

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

Implementation

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