DOMContext<T> constructor

DOMContext<T>({
  1. DOMContext<T>? parent,
  2. Viewport? viewport,
  3. bool resolveCSSViewportUnit = false,
  4. bool resolveCSSURL = false,
  5. Map<String, dynamic>? variables,
  6. IntlMessageResolver? intlMessageResolver,
})

Implementation

DOMContext(
    {this.parent,
    this.viewport,
    this.resolveCSSViewportUnit = false,
    this.resolveCSSURL = false,
    Map<String, dynamic>? variables,
    this.intlMessageResolver}) {
  if (variables != null) {
    this.variables = variables;
  }
}