IconButton constructor
const
IconButton({
- Key? key,
- required dynamic icon,
- VoidCallback? onPressed,
- String? tooltip,
- Color? color,
- Color? backgroundColor,
- double size = 24,
- EdgeInsetsGeometry? padding,
- double radius = AppRadius.medium,
- bool enabled = true,
- ButtonStyle? style,
Implementation
const IconButton({
super.key,
required this.icon,
this.onPressed,
this.tooltip,
this.color,
this.backgroundColor,
this.size = 24,
this.padding,
this.radius = AppRadius.medium,
this.enabled = true,
this.style,
});