AudioContentElement constructor

AudioContentElement({
  1. required String name,
  2. required List<String?> src,
  3. required bool showControls,
  4. required bool autoplay,
  5. required bool loop,
  6. required bool muted,
  7. required Element node,
})

Implementation

AudioContentElement({
  required String name,
  required this.src,
  required this.showControls,
  required this.autoplay,
  required this.loop,
  required this.muted,
  required dom.Element node,
}) : super(name: name, style: Style(), node: node, elementId: node.id);