Svg constructor
Svg({})
Creates an <svg> viewport container descriptor.
Implementation
Svg({
String? viewBox,
String? width,
String? height,
super.className,
super.style,
Map<String, String>? attrs,
super.children = const [],
super.on,
}) : super('svg',
attrs: _mergeAttrs(attrs, {
if (viewBox != null) 'viewBox': viewBox,
if (width != null) 'width': width,
if (height != null) 'height': height,
}));