ucg_interactable_svg 1.0.25 copy "ucg_interactable_svg: ^1.0.25" to clipboard
ucg_interactable_svg: ^1.0.25 copied to clipboard

Flutter package to interact with different regions of an SVG.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ucg_interactable_svg

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ucg_interactable_svg: ^1.0.25

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ucg_interactable_svg/interactable_svg/src/models/region.dart';
import 'package:ucg_interactable_svg/interactable_svg/src/models/region_area.dart';
import 'package:ucg_interactable_svg/interactable_svg/src/parser.dart';
import 'package:ucg_interactable_svg/interactable_svg/src/size_controller.dart';
import 'package:ucg_interactable_svg/interactable_svg/src/widgets/interactable_svg.dart';
import 'package:ucg_interactable_svg/interactable_svg/src/widgets/region_painter.dart';
import 'package:ucg_interactable_svg/interactable_svg/ucg_interactable_svg.dart';
8
likes
125
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to interact with different regions of an SVG.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, svg_path_parser, xml

More

Packages that depend on ucg_interactable_svg