Embed function
An embed element.
The HTML <embed> element embeds external content.
Implementation
Component Embed({
required String src,
String? className,
String? style,
String? id,
String? type,
int? width,
int? height,
Map<String, String>? attributes,
Map<String, EventCallback>? events,
Key? key,
}) {
return jaspr.embed(
src: src,
classes: className,
styles: parseStyles(style),
id: id,
type: type,
width: width,
height: height,
attributes: attributes,
events: events,
key: key,
);
}