NiceIconButton2 constructor

const NiceIconButton2({
  1. Key? key,
  2. required IconData icon,
  3. String? label,
  4. VoidCallback? onPressed,
  5. double size = 24,
  6. Color? color,
  7. Color? backgroundColor,
  8. bool vertical = false,
  9. String? tooltip,
  10. bool disabled = false,
})

Implementation

const NiceIconButton2({
  super.key,
  required this.icon,
  this.label,
  this.onPressed,
  this.size = 24,
  this.color,
  this.backgroundColor,
  this.vertical = false,
  this.tooltip,
  this.disabled = false,
});