commit | ec86ee57c89f683352e66c55542bcc1daa425c13 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Tue Jan 09 14:14:10 2024 -0800 |
committer | GitHub <noreply@github.com> | Tue Jan 09 14:14:10 2024 -0800 |
tree | bb8e5ad932498a6586a094de8be1914188e6fd12 | |
parent | 1ad2d1ec461fb1836180e917220a5a48fd641897 [diff] |
Require Dart 3.0, update and fix lints (#194)
A Dart CSS parser.
Parsing CSS is easy!
import 'package:csslib/parser.dart'; 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
.