object constructor

const object(
  1. List<Component> children, {
  2. String? data,
  3. String? name,
  4. String? type,
  5. int? width,
  6. int? height,
  7. String? id,
  8. String? classes,
  9. Styles? styles,
  10. Map<String, String>? attributes,
  11. Map<String, EventCallback>? events,
  12. Key? key,
})

The <object> HTML element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.

Implementation

const object(
  this.children, {
  this.data,
  this.name,
  this.type,
  this.width,
  this.height,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});