PremiumIconButton constructor
const
PremiumIconButton({ - Key? key,
- required IconData icon,
- VoidCallback? onPressed,
- double size = 44,
- double? iconSize,
- Color? backgroundColor,
- Color? iconColor,
- PremiumButtonVariant variant = PremiumButtonVariant.filled,
- bool isDarkMode = true,
- bool isDisabled = false,
- String? tooltip,
- 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,
});