IFrame constructor
IFrame({ - required String src,
- required String title,
- int? width,
- int? height,
- Loading? loading,
- String? allow,
- ReferrerPolicy? referrerPolicy,
- Set<Sandbox>? sandbox,
- String? id,
- Iterable<String>? classes,
- Iterable<String>? inlineStyles,
})
Implementation
IFrame({
required this.src,
required this.title,
this.width,
this.height,
this.loading,
this.allow,
this.referrerPolicy,
this.sandbox,
super.id,
super.classes,
Iterable<String>? inlineStyles,
}) : super(
inlineStyles: ["border: 0", ...?inlineStyles],
children: [],
);