anim_svg 0.0.1
anim_svg: ^0.0.1 copied to clipboard
Flutter widget for animated SVG. Transpiles SMIL, CSS @keyframes, and Svgator animations to Lottie JSON, rendered by the native thorvg engine.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add anim_svgWith Flutter:
$ flutter pub add anim_svgThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
anim_svg: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:anim_svg/anim_svg.dart';