IFrame constructor

IFrame({
  1. required String src,
  2. required String title,
  3. int? width,
  4. int? height,
  5. Loading? loading,
  6. String? allow,
  7. ReferrerPolicy? referrerPolicy,
  8. Set<Sandbox>? sandbox,
  9. String? id,
  10. Iterable<String>? classes,
  11. 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: [],
     );