ZIconButton constructor

const ZIconButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. Widget? icon,
  4. double size = 40,
  5. Color? fillColor,
  6. double hoverElevation = 1,
  7. double highlightElevation = 1,
})

Implementation

const ZIconButton({
  Key? key,
  required this.onPressed,
  this.icon,
  this.size = 40,
  this.fillColor,
  this.hoverElevation = 1,
  this.highlightElevation = 1,
}) : super(key: key);