commit | 9c0fe613b004315657f6a0c78b96cfab67cb1409 | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Wed Sep 01 08:34:25 2021 -0700 |
committer | Konstantin Shcheglov <scheglov@google.com> | Wed Sep 01 08:34:25 2021 -0700 |
tree | f09932754110031fe134ed9b93f1449edf9e23c5 | |
parent | e57255e984d9a6a888558fcba211d2d5c21f83d8 [diff] |
Fix pre-existing HintCode.UNNECESSARY_TYPE_CHECK_TRUE
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
.