CustomElementContext constructor

CustomElementContext({
  1. required HTMLElement host,
  2. ShadowRoot? shadowRoot,
})

Creates a CustomElementContext for host with optional shadowRoot.

Implementation

CustomElementContext({
  required this.host,
  this.shadowRoot,
});