Audio constructor
const
Audio({
- bool? autoPlay,
- bool? controls,
- CrossOriginType? crossOrigin,
- bool? loop,
- bool? muted,
- PreloadType? preload,
- String? src,
- Key? key,
- NullableElementCallback? ref,
- String? id,
- String? title,
- String? style,
- String? className,
- String? innerText,
- Widget? child,
- List<
Widget> ? children, - EventCallback? onClick,
- 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,
);