flutter_svg_editor 1.0.4 copy "flutter_svg_editor: ^1.0.4" to clipboard
flutter_svg_editor: ^1.0.4 copied to clipboard

A Flutter package for editing SVG files with color, rotation, AI optimization, and animation tools. Supports web, mobile, and desktop apps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_svg_editor/flutter_svg_editor.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Center(
        child: SizedBox(
          width: SvgEditorUtils.isMobile(context)
              ? SvgEditorUtils.percentegeWidth(context, 1)
              : SvgEditorUtils.percentegeWidth(context, .7),
          height: SvgEditorUtils.isMobile(context)
              ? SvgEditorUtils.percentegeHeight(context, 1)
              : SvgEditorUtils.percentegeHeight(context, .7),
          child: FlutterSvgEditor(
            onChange: (svgValue) {},
            onCopied: (svgValue) {},
            onReset: (svgValue) {},
          ),
        ),
      ),
    );
  }
}
8
likes
140
points
73
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for editing SVG files with color, rotation, AI optimization, and animation tools. Supports web, mobile, and desktop apps.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

file_picker, flutter, flutter_colorpicker, flutter_svg, flutter_web_plugins, plugin_platform_interface, web, xml

More

Packages that depend on flutter_svg_editor