AppIcon constructor

const AppIcon({
  1. Key? key,
  2. Function? onPressed,
  3. double? width,
  4. double? height,
  5. String? tooltip,
  6. IconData? icon,
  7. Color? iconColor,
  8. Color? splashColor,
  9. double sizeIcon = 18.0,
  10. String? text,
})

Implementation

const AppIcon({
  Key? key,
  this.onPressed,
  this.width,
  this.height,
  this.tooltip,
  this.icon,
  this.iconColor,
  this.splashColor,
  this.sizeIcon = 18.0,
  this.text,
}) : super(key: key);