CssUtility class

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

call(String selector, [List<StyleRule> children = const []]) NestedStyleRule
Renders a css rule with the given selector.
fontFace({required String family, FontStyle? style, required String url}) FontFaceStyleRule
Renders a @font-face css rule.
import(String url) ImportStyleRule
Renders a @import url(...) css rule.
keyframes(String name, Map<String, Styles> styles) KeyframesStyleRule
Renders a @keyframes css rule.
layer(List<StyleRule> styles, {String? name}) LayerStyleRule
Renders a @layer css rule.
media(MediaQuery query, List<StyleRule> styles) MediaStyleRule
Renders a @media css rule.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supports(String condition, List<StyleRule> styles) SupportsStyleRule
Renders a @supports css rule.
toString() String
A string representation of this object.
inherited

Operators

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