GTFIcon constructor
const
GTFIcon({
- Key? key,
- VoidCallback? onTap,
- dynamic icon,
- double? width,
- double? height,
- double radius = 0,
- double borderWidth = 0,
- BoxFit fit = BoxFit.fill,
- EdgeInsets? margin,
- EdgeInsets? padding,
- Color? backgroundColor,
- Color borderColor = GTFColor.transparent,
- 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);