PremiumIconButton constructor

const PremiumIconButton({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. double size = 44,
  5. double? iconSize,
  6. Color? backgroundColor,
  7. Color? iconColor,
  8. PremiumButtonVariant variant = PremiumButtonVariant.filled,
  9. bool isDarkMode = true,
  10. bool isDisabled = false,
  11. String? tooltip,
  12. bool hapticFeedback = true,
})

Implementation

const PremiumIconButton({
  super.key,
  required this.icon,
  this.onPressed,
  this.size = 44,
  this.iconSize,
  this.backgroundColor,
  this.iconColor,
  this.variant = PremiumButtonVariant.filled,
  this.isDarkMode = true,
  this.isDisabled = false,
  this.tooltip,
  this.hapticFeedback = true,
});