parsePath static method

Path parsePath(
  1. String source
)

Convenience method to parse a path string, producing a Flutter Path. See PathParser for details on parsing.

Implementation

static Path parsePath(String source) {
  final b = UIPathBuilder();
  final p = PathParser(b, source);
  p.parse();
  return b.path;
}