SvgBuilderModel constructor
const
SvgBuilderModel(
- Map<
String, dynamic> args, { - Alignment alignment = Alignment.center,
- bool allowDrawingOutsideViewBox = false,
- required String? asset,
- Clip clipBehavior = Clip.hardEdge,
- Color? color,
- ColorFilter? colorFilter,
- bool excludeFromSemantics = false,
- BoxFit fit = BoxFit.contain,
- required Map<
String, String> ? headers, - required double? height,
- required String? image,
- required bool matchTextDirection,
- required String? package,
- required String? semanticsLabel,
- dynamic theme = const SvgTheme(),
- required String? url,
- 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,
});