StatusSvgButton constructor

const StatusSvgButton({
  1. Key? key,
  2. required String svgPath,
  3. bool enabled = true,
  4. VoidCallback? onPressed,
  5. double size = 24.0,
  6. double disabledOpacity = 0.5,
  7. Color? color,
  8. StringEnum? tooltip,
  9. double? width,
  10. double? height,
  11. StringEnum? disabledTooltip,
  12. Alignment? alignment,
  13. double? iconSize,
})

Implementation

const StatusSvgButton({
  super.key,
  required this.svgPath,
  this.enabled = true,
  this.onPressed,
  this.size = 24.0,
  this.disabledOpacity = 0.5,
  this.color,
  this.tooltip,
  this.width,
  this.height,
  this.disabledTooltip,
  this.alignment,
  this.iconSize,
});