NeumorphicIconButton constructor

const NeumorphicIconButton({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. double size = 48,
  5. double iconSize = 24,
  6. Color? iconColor,
  7. Color? backgroundColor,
  8. int depth = 2,
})

Implementation

const NeumorphicIconButton({
  super.key,
  required this.icon,
  this.onPressed,
  this.size = 48,
  this.iconSize = 24,
  this.iconColor,
  this.backgroundColor,
  this.depth = 2,
});