NeoIconButton constructor

const NeoIconButton({
  1. Key? key,
  2. double size = 42.0,
  3. BoxShape shape = BoxShape.circle,
  4. bool hapticFeedback = true,
  5. bool enabled = true,
  6. Offset offset = const Offset(3, 3),
  7. Color shadowColor = Colors.black,
  8. Color? backgroundColor,
  9. Color? foregroundColor,
  10. VoidCallback? onTap,
  11. required IconData icon,
})

Implementation

const NeoIconButton({
  super.key,
  this.size = 42.0,
  this.shape = BoxShape.circle,
  this.hapticFeedback = true,
  this.enabled = true,
  this.offset = const Offset(3, 3),
  this.shadowColor = Colors.black,
  this.backgroundColor,
  this.foregroundColor,
  this.onTap,
  required this.icon,
});