commit | bd0f77f1893945f4bc56439e9038d28cb6962a89 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Mon Aug 17 17:02:23 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 17 17:02:23 2020 -0700 |
tree | 4ad7c9b41c0cee5b36f882f762e11b29e6138ea4 | |
parent | 451448a9ac03f87a8d0377fc0b411d8c388a6cb4 [diff] |
Refactor some private final files with a getter (#108) When a field is `final` it is not necessary to make it private with a forwarding getter.
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
.