IFrame constructor
IFrame({})
Creates an <iframe> element descriptor with src, title, and dimension shorthands.
Implementation
IFrame(
{String? src,
String? title,
int? width,
int? height,
super.className,
super.style,
Map<String, String>? attrs,
super.on})
: super('iframe',
attrs: _mergeAttrs(attrs, {
if (src != null) 'src': src,
if (title != null) 'title': title,
if (width != null) 'width': '$width',
if (height != null) 'height': '$height',
}));