commit | 6f77b3dcee957d3e2d5083f666221a220e9ed1f1 | [log] [tgz] |
---|---|---|
author | Paul Berry <stereotype441@gmail.com> | Tue Sep 29 14:39:33 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 29 14:39:33 2020 -0700 |
tree | f40c40064a10f212ef33fad1857ee54a28e8a67f | |
parent | 452a2e5b42bca5d90d7dfdba51555cbeead4fd56 [diff] |
Remove unnecessary cast. (#117) This cast was working around https://github.com/dart-lang/sdk/issues/43136. Now that it is fixed, the cast is no longer needed.
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
.