commit | 681a6603f86bbbe64e8af42d722aef63b028d241 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Mon Aug 31 09:22:32 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 31 09:22:32 2020 -0700 |
tree | 9df7a02f05694baa0e97120c74edd5ba0bd84fe3 | |
parent | cb3f9405361ebedbbb852e51cf863620b6a9b2f6 [diff] |
Disable implicit casts from dynamic (#113) This package uses `dynamic` frequently for historical reasons. Disable implicit casts and add explicit casts where necessary to avoid masking the unsafe implementation.
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
.