path_editor 0.0.3 copy "path_editor: ^0.0.3" to clipboard
path_editor: ^0.0.3 copied to clipboard

A Flutter widget for visually editing and manipulating SVG paths.

Path Editor #

Version test codecov OpenSSF Scorecard live_demo

A Flutter widget for visually editing SVG paths.

Features #

  • Visual editing of SVG paths
  • Supports move, line, and cubic bezier curve commands
  • Interactive control points for cubic bezier curves
  • Customizable appearance

Example Usage #

Stack(
  children: [
    // Background content
    Positioned.fill(
      child: FilledPath(
        controller: controller,
        color: Colors.blue.withAlpha(127),
        blendMode: BlendMode.srcOver,
      ),
    ),
    // Path editor on top
    Positioned.fill(
      child: PathEditor(
        controller: controller,
      ),
    ),
  ],
)

Additional information #

Paths are transformed into absolute mode and all operations are remapped to MoveTo, LineTo and CubicTo. This ensures the paths are compatible with all outputs such as SVG and PDF.

For more information, visit the GitHub repository.

If you encounter any issues or have feature requests, please file them on the issue tracker.

1
likes
160
points
24
downloads

Publisher

verified publisherchimerapps.com

Weekly Downloads

A Flutter widget for visually editing and manipulating SVG paths.

Repository (GitHub)
View/report issues

Topics

#svg #path #editor

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

Apache-2.0 (license)

Dependencies

flutter, path_parsing

More

Packages that depend on path_editor