CSSLayerStatementRule class

Represents a CSS Cascade Layer ordering statement: @layer a, b;.

WebF flattens layer blocks into normal rules and emits a statement rule to ensure empty layers still participate in ordering.

Inheritance

Constructors

CSSLayerStatementRule(List<List<String>> layerNamePaths)

Properties

cssText → String
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
layerNamePaths → List<List<String>>
A list of layer name paths (each path is dot-separated in CSS). Example: @layer a.b, c; becomes [['a','b'], ['c']].
final
layerOrderKey ↔ List<int>?
Cached cascade layer sort key, assigned by RuleSet when rules are added. null means unlayered.
getter/setter pairinherited
layerPath ↔ List<String>
Cascade layer path segments for this rule (e.g. ['framework', 'utilities']). Empty means unlayered.
getter/setter pairinherited
parentStyleSheet ↔ CSSStyleSheet?
getter/setter pairinherited
position ↔ int
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → int
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited