svgaplayer_3 3.0.1 svgaplayer_3: ^3.0.1 copied to clipboard
The SVGAPlayer implementation of Flutter using CustomPainter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add svgaplayer_3
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
svgaplayer_3: ^3.0.1
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:svgaplayer_3/dynamic_entity.dart';
import 'package:svgaplayer_3/painter.dart';
import 'package:svgaplayer_3/parser.dart';
import 'package:svgaplayer_3/player.dart';
import 'package:svgaplayer_3/proto/svga.pb.dart';
import 'package:svgaplayer_3/proto/svga.pbenum.dart';
import 'package:svgaplayer_3/proto/svga.pbjson.dart';
import 'package:svgaplayer_3/proto/svga.pbserver.dart';
import 'package:svgaplayer_3/simple_player.dart';
import 'package:svgaplayer_3/svgaplayer_flutter.dart';