Selector class

Available extensions

Constructors

Selector(String selector)
const
Selector.attr(String attr, {AttrCheck check})
const
factory
Selector.chain(List<Selector> selectors)
const
factory
Selector.className(String className)
const
Selector.combine(List<Selector> selectors, {Combinator combinator})
const
factory
Selector.dot(String className)
const
Selector.id(String id)
const
Selector.list(List<Selector> selectors)
const
factory
Selector.pseudoClass(String name)
const
Selector.pseudoElem(String name)
const
Selector.tag(String tag)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selector → String
The css selector
final

Methods

adjacentSibling(Selector next) → Selector

Available on Selector, provided by the SelectorMixin extension

child(Selector next) → Selector

Available on Selector, provided by the SelectorMixin extension

className(String className) → Selector

Available on Selector, provided by the SelectorMixin extension

descendant(Selector next) → Selector

Available on Selector, provided by the SelectorMixin extension

dot(String className) → Selector

Available on Selector, provided by the SelectorMixin extension

id(String id) → Selector

Available on Selector, provided by the SelectorMixin extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sibling(Selector next) → Selector

Available on Selector, provided by the SelectorMixin extension

tag(String tag) → Selector

Available on Selector, provided by the SelectorMixin extension

toString() → String
A string representation of this object.
inherited

Operators

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

Constants

all → const Selector