CSSLayerBlockRule class
Represents a CSS Cascade Layer block: @layer name { ... }.
This is a grouping rule in the CSSOM and supports insertRule/deleteRule.
Constructors
Properties
-
cssRules
→ List<
CSSRule> -
Child rules within this layer block.
final
- cssText → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
-
layerNamePath
→ List<
String> -
Resolved full layer name path segments in the cascade layer tree.
This includes any parent layer context.
final
-
layerOrderKey
↔ List<
int> ? -
Cached cascade layer sort key, assigned by RuleSet when rules are added.
nullmeans unlayered.getter/setter pairinherited -
layerPath
↔ List<
String> -
Cascade layer path segments for this rule (e.g.
['framework', 'utilities']). Empty means unlayered.getter/setter pairinherited - name → String
-
The layer name as written, using dot notation for nested names.
For anonymous layers, this is the empty string.
final
- 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
-
deleteRule(
int index) → void -
insertRule(
CSSRule rule, int index) → int -
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.
override