ucg_interactable_svg 1.0.25
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_svgThis 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.25Alternatively, 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';