GTFIcon constructor

const GTFIcon({
  1. Key? key,
  2. VoidCallback? onTap,
  3. dynamic icon,
  4. double? width,
  5. double? height,
  6. double radius = 0,
  7. double borderWidth = 0,
  8. BoxFit fit = BoxFit.fill,
  9. EdgeInsets? margin,
  10. EdgeInsets? padding,
  11. Color? backgroundColor,
  12. Color borderColor = GTFColor.transparent,
  13. Color? svgColor,
})

Implementation

const GTFIcon({
  Key? key,
  this.onTap,
  this.icon,
  this.width,
  this.height,
  this.radius = 0,
  this.borderWidth = 0,
  this.fit = BoxFit.fill,
  this.margin,
  this.padding,
  this.backgroundColor,
  this.borderColor = GTFColor.transparent,
  this.svgColor,
}) : super(key: key);