SvgBuilderModel constructor

const SvgBuilderModel(
  1. Map<String, dynamic> args, {
  2. Alignment alignment = Alignment.center,
  3. bool allowDrawingOutsideViewBox = false,
  4. required String? asset,
  5. Clip clipBehavior = Clip.hardEdge,
  6. Color? color,
  7. ColorFilter? colorFilter,
  8. bool excludeFromSemantics = false,
  9. BoxFit fit = BoxFit.contain,
  10. required Map<String, String>? headers,
  11. required double? height,
  12. required String? image,
  13. required bool matchTextDirection,
  14. required String? package,
  15. required String? semanticsLabel,
  16. dynamic theme = const SvgTheme(),
  17. required String? url,
  18. required double? width,
})

Implementation

const SvgBuilderModel(
  super.args, {
  this.alignment = Alignment.center,
  this.allowDrawingOutsideViewBox = false,
  required this.asset,
  this.clipBehavior = Clip.hardEdge,
  this.color,
  this.colorFilter,
  this.excludeFromSemantics = false,
  this.fit = BoxFit.contain,
  required this.headers,
  required this.height,
  required this.image,
  required this.matchTextDirection,
  required this.package,
  required this.semanticsLabel,
  this.theme = const SvgTheme(),
  required this.url,
  required this.width,
});