interactable_svg 0.0.7 copy "interactable_svg: ^0.0.7" to clipboard
interactable_svg: ^0.0.7 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 interactable_svg

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

dependencies:
  interactable_svg: ^0.0.7

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:interactable_svg/interactable_svg/interactable_svg.dart';
import 'package:interactable_svg/interactable_svg/src/constant.dart';
import 'package:interactable_svg/interactable_svg/src/models/region.dart';
import 'package:interactable_svg/interactable_svg/src/models/region_area.dart';
import 'package:interactable_svg/interactable_svg/src/parser.dart';
import 'package:interactable_svg/interactable_svg/src/size_controller.dart';
import 'package:interactable_svg/interactable_svg/src/utils/utils.dart';
import 'package:interactable_svg/interactable_svg/src/widgets/interactable_svg.dart';
import 'package:interactable_svg/interactable_svg/src/widgets/region_painter.dart';
32
likes
150
pub points
79%
popularity

Publisher

unverified uploader

Flutter package to interact with different regions of an SVG.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http, svg_path_parser

More

Packages that depend on interactable_svg