MSvgButton constructor

const MSvgButton({
  1. Key? key,
  2. Function? onTap,
  3. Key? mKey,
  4. required String icon,
  5. double width = 45.0,
  6. double height = 45.0,
  7. double iconSize = 20.0,
  8. Color backgroundColor = Coolors.highlight,
  9. Color? color,
  10. double borderRadius = 25.0,
})

Implementation

const MSvgButton({
  super.key,
  this.onTap,
  this.mKey,
  required this.icon,
  this.width = 45.0,
  this.height = 45.0,
  this.iconSize = 20.0,
  this.backgroundColor = Coolors.highlight,
  this.color,
  this.borderRadius = 25.0,
});