IconButton.filled constructor

const IconButton.filled({
  1. Key? key,
  2. required dynamic icon,
  3. VoidCallback? onPressed,
  4. String? tooltip,
  5. Color? color,
  6. Color? backgroundColor,
  7. double size = 24,
  8. EdgeInsetsGeometry? padding,
  9. double radius = AppRadius.medium,
  10. bool enabled = true,
  11. ButtonStyle? style,
})

Filled variant.

Implementation

const IconButton.filled({
  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,
});