BrowserStyleSheet class
A stylesheet which will insert rules into a <style>
tag.
This is a low-level API and only accepts a valid CSS rule, so nested rules won't be accpeted.
This utilizes the CSSStyleSheet.insertRule
in production mode.
- Inheritance
- Object
- AbstractStyleSheet
- BrowserStyleSheet
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add(
String rule) → void - Appends a CSS rule at the end of this stylesheet.
-
addFirst(
String rule) → void - Inserts a CSS rule at the beginning of this stylesheet. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited