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

A flutter widget for visually editing svg paths

Path Editor #

Version codecovOpenSSF Scorecard

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
0
points
24
downloads

Publisher

verified publisherchimerapps.com

Weekly Downloads

A flutter widget for visually editing svg paths

Repository (GitHub)
View/report issues

Topics

#svg #path #editor

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

unknown (license)

Dependencies

flutter, path_parsing

More

Packages that depend on path_editor