Audio constructor

const Audio({
  1. bool? autoPlay,
  2. bool? controls,
  3. CrossOriginType? crossOrigin,
  4. bool? loop,
  5. bool? muted,
  6. PreloadType? preload,
  7. String? src,
  8. Key? key,
  9. NullableElementCallback? ref,
  10. String? id,
  11. String? title,
  12. String? style,
  13. String? className,
  14. bool? hidden,
  15. String? innerText,
  16. Widget? child,
  17. List<Widget>? children,
  18. EventCallback? onClick,
  19. Map<String, String>? additionalAttributes,
})

Implementation

const Audio({
  this.autoPlay,
  this.controls,
  this.crossOrigin,
  this.loop,
  this.muted,
  this.preload,
  this.src,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );