CSSStyleSheet class

Implemented types

Constructors

CSSStyleSheet(List<CSSRule> cssRules, {bool disabled = false, String? href})

Properties

cssRules List<CSSRule>
final
disabled bool
A Boolean indicating whether the stylesheet is disabled. False by default.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
href String?
A string containing the baseURL used to resolve relative URLs in the stylesheet.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
getter/setter pair

Methods

clone() CSSStyleSheet
compareTo(dynamic other) int
Compares this object to another object.
override
deleteRule(int index) → dynamic
Removes a rule from the stylesheet object.
insertRule(String text, int index) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(String text) Future
replaceSync(String text) → dynamic
Synchronously replaces the content of the stylesheet with the content passed into it.
toString() String
A string representation of this object.
inherited

Operators

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