iframe constructor

const iframe(
  1. List<Component> children, {
  2. required String src,
  3. String? allow,
  4. String? csp,
  5. MediaLoading? loading,
  6. String? name,
  7. String? sandbox,
  8. ReferrerPolicy? referrerPolicy,
  9. int? width,
  10. int? height,
  11. String? id,
  12. String? classes,
  13. Styles? styles,
  14. Map<String, String>? attributes,
  15. Map<String, EventCallback>? events,
  16. Key? key,
})

The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.

Implementation

const iframe(
  this.children, {
  required this.src,
  this.allow,
  this.csp,
  this.loading,
  this.name,
  this.sandbox,
  this.referrerPolicy,
  this.width,
  this.height,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});