CSSRuleType enum

Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors. This list only contains rule types that are collected during the ancestor rule collection.

Inheritance
Available extensions

Values

mediaRule → const CSSRuleType
const CSSRuleType('MediaRule')
supportsRule → const CSSRuleType
const CSSRuleType('SupportsRule')
containerRule → const CSSRuleType
const CSSRuleType('ContainerRule')
layerRule → const CSSRuleType
const CSSRuleType('LayerRule')
scopeRule → const CSSRuleType
const CSSRuleType('ScopeRule')
styleRule → const CSSRuleType
const CSSRuleType('StyleRule')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

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

Operators

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

Constants

values → const List<CSSRuleType>
A constant List of the values in this enum, in order of their declaration.