SvgContentElement constructor

SvgContentElement({
  1. required String name,
  2. required String data,
  3. required double? width,
  4. required double? height,
  5. required Element node,
})

Implementation

SvgContentElement({
  required String name,
  required this.data,
  required this.width,
  required this.height,
  required dom.Element node,
}) : super(name: name, style: Style(), node: node, elementId: node.id, alignment: PlaceholderAlignment.middle);