GrxSvg constructor
const
GrxSvg(
- String path, {
- Key? key,
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
- ColorFilter? color,
- double? height,
- double? width,
- Widget placeholderBuilder()?,
- AssetBundle? bundle,
- bool allowDrawingOutsideViewBox = false,
- bool matchTextDirection = false,
- Clip clipBehavior = Clip.hardEdge,
- String? package,
- String? semanticsLabel,
Implementation
const GrxSvg(
this.path, {
super.key,
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
this.color,
this.height,
this.width,
this.placeholderBuilder,
this.bundle,
this.allowDrawingOutsideViewBox = false,
this.matchTextDirection = false,
this.clipBehavior = Clip.hardEdge,
this.package,
this.semanticsLabel,
});