ImageContentElement constructor

ImageContentElement({
  1. required String name,
  2. required String? src,
  3. required String? alt,
  4. required Element node,
})

Implementation

ImageContentElement({
  required String name,
  required this.src,
  required this.alt,
  required dom.Element node,
}) : super(name: name, style: Style(), node: node, alignment: PlaceholderAlignment.middle, elementId: node.id);