| commit | b70fef222c8a98abca39c3f729ec34632089697e | [log] [tgz] |
|---|---|---|
| author | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Jun 20 09:21:53 2024 -0700 |
| committer | GitHub <noreply@github.com> | Thu Jun 20 09:21:53 2024 -0700 |
| tree | 242d5f9a4c4c88637acd48a3d9802e4a7cf21d81 | |
| parent | 23c314bb6b247a71348cfb0987ba0eb29574abb6 [diff] |
Update and fix lints, bump min SDK to Dart 3.1 (#204)
A Dart CSS parser.
Parsing CSS is easy!
import 'package:csslib/parser.dart'; void main() { var stylesheet = parse( '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }'); print(stylesheet.toDebugString()); }
You can pass a String or List<int> to parse.