cascadia 0.6.9 copy "cascadia: ^0.6.9" to clipboard
cascadia: ^0.6.9 copied to clipboard

A Dart CSS selector library Cascadia project, extended with modern CSS features.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.6.9 - 2026-05-04 #

Added #

  • Full CSS selector parsing (Selectors Level 3 and many Level 4+)
  • 78 pseudo-classes (:first-child, :nth-child, :not, :has, :is, :where, :focus-visible, :dir, :has-slotted, :heading, :active-view-transition, etc.)
  • 31 pseudo-elements (::before, ::after, ::first-line, ::first-letter, ::selection, ::part, ::slotted, ::view-transition-*, etc.)
  • Combinators: descendant, child, adjacent sibling, general sibling
  • Attribute selectors: [attr], [attr=value], [attr~=value], [attr|=value], [attr^=value], [attr$=value], [attr*=value]
  • Namespace support (svg|circle)
  • Nesting selector (&)
  • Specificity calculation per CSS spec
  • Serialization to CSS string
  • query() and queryAll() DOM traversal utilities
  • compile() for reusable matcher functions
  • parseWithPseudoElements() for pseudo-element support
  • Comprehensive test suite (48 tests)
  • Full Flutter compatibility
  • BSD 3-Clause license

Documentation #

  • Complete README with selector reference table
  • Usage examples for Dart and Flutter
  • API documentation with dartdoc comments
0
likes
0
points
149
downloads

Publisher

verified publisherayoubzulfiqar.com

Weekly Downloads

A Dart CSS selector library Cascadia project, extended with modern CSS features.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

html

More

Packages that depend on cascadia