render method
Render the DOM element and add it to the context.
Implementation
@override
Element render(BuildContext context) {
final v = AudioElement(src);
if (loop != null) v.loop = loop!;
return hook(context, v);
}
Render the DOM element and add it to the context.
@override
Element render(BuildContext context) {
final v = AudioElement(src);
if (loop != null) v.loop = loop!;
return hook(context, v);
}