CSSRule class

A single CSS rule. There are several types of rules, listed in the Type constants section below.

MDN Reference

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CSSRule()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

charsetRule num
no setter
fontFaceRule num
no setter
importRule num
no setter
keyframeRule num
no setter
keyframesRule num
no setter
mediaRule num
no setter
namespaceRule num
no setter
pageRule num
no setter
styleRule num
no setter
supportsRule num
no setter