flutter_svg_editor 1.0.5 copy "flutter_svg_editor: ^1.0.5" to clipboard
flutter_svg_editor: ^1.0.5 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(
      color: Colors.white,
      theme: ThemeData.light(),
      home: Center(
        child: SizedBox(
          width: Utilities.isMobile(context)
              ? Utilities.percentegeWidth(context, 1)
              : Utilities.percentegeWidth(
                  context, Utilities.isTablet(context) ? .9 : .7),
          height: Utilities.isMobile(context)
              ? Utilities.percentegeHeight(context, 1)
              : Utilities.percentegeHeight(
                  context, Utilities.isTablet(context) ? .9 : .7),
          child: FlutterSvgEditor(
            onChange: (svgValue) {},
            onCopied: (svgValue) {},
            onReset: (svgValue) {},
          ),
        ),
      ),
    );
  }
}
8
likes
140
points
69
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, path_provider, plugin_platform_interface, web, xml

More

Packages that depend on flutter_svg_editor