CSSRule constructor

CSSRule({
  1. StyleSheetId? styleSheetId,
  2. required SelectorList selectorList,
  3. List<String>? nestingSelectors,
  4. required StyleSheetOrigin origin,
  5. required CSSStyle style,
  6. List<CSSMedia>? media,
  7. List<CSSContainerQuery>? containerQueries,
  8. List<CSSSupports>? supports,
  9. List<CSSLayer>? layers,
  10. List<CSSScope>? scopes,
  11. List<CSSRuleType>? ruleTypes,
})

Implementation

CSSRule(
    {this.styleSheetId,
    required this.selectorList,
    this.nestingSelectors,
    required this.origin,
    required this.style,
    this.media,
    this.containerQueries,
    this.supports,
    this.layers,
    this.scopes,
    this.ruleTypes});