GrxSvg constructor

const GrxSvg(
  1. String path, {
  2. Key? key,
  3. BoxFit fit = BoxFit.contain,
  4. AlignmentGeometry alignment = Alignment.center,
  5. ColorFilter? color,
  6. double? height,
  7. double? width,
  8. Widget placeholderBuilder(
    1. BuildContext
    )?,
  9. AssetBundle? bundle,
  10. bool allowDrawingOutsideViewBox = false,
  11. bool matchTextDirection = false,
  12. Clip clipBehavior = Clip.hardEdge,
  13. String? package,
  14. 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,
});