CSSMediaDirective class

Inheritance

Constructors

CSSMediaDirective(CSSMediaQuery? cssMediaQuery, List<CSSRule>? rules)

Properties

cssMediaQuery CSSMediaQuery?
final
cssText String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
parentStyleSheet CSSStyleSheet?
getter/setter pairinherited
position int
getter/setter pairinherited
rules List<CSSRule>?
finalgetter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
no setteroverride

Methods

getValidMediaRules(double? windowWidth, double? windowHeight, bool isDarkMode) List<CSSRule>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseStringToDouble(String str) double?
toString() String
A string representation of this object.
inherited

Operators

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