Skip to main content

vecta_parser 1.0.0 copy "vecta_parser: ^1.0.0" to clipboard
vecta_parser: ^1.0.0 copied to clipboard

SVG parser and Intermediate Representation for Vecta animation runtime.

vecta_parser #

SVG parser for the Vecta animation framework. Converts SVG files into Vecta's intermediate representation (IR) for animation.

Features #

  • Parses SVG files into a structured IR (nodes, groups, paths, text)
  • Preserves element names and IDs for animation binding
  • Supports gradients, transforms, styles, and clip paths
  • Pure Dart -- no Flutter dependency

Getting started #

dependencies:
  vecta_parser: ^1.0.0

Usage #

import 'package:vecta_parser/vecta_parser.dart';

final scene = VectaParser.parse(svgString);

// Inspect named nodes
for (final node in scene.nodes) {
  print('${node.name} (${node.type})');
}

Additional information #

Part of the Vecta monorepo. See the main repository for full documentation.

0
likes
150
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

SVG parser and Intermediate Representation for Vecta animation runtime.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

path_parsing, xml

More

Packages that depend on vecta_parser