svgaplayer_flutter 1.1.0
svgaplayer_flutter: ^1.1.0 copied to clipboard

Flutter Android iOS

The SVGAPlayer implementation of Flutter using CustomPainter.

6
likes
65 / 110
pub points
83 %
popularity

We analyzed this package on Feb 25, 2021, and awarded it 65 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 3 links are insecure.

README.md:4:61

  ╷
4 │ <p>SVGAPlayer is a light-weight animation renderer. You use <a href="http://svga.io/designer.html">tools</a> to export <code>svga</code> file from <code>Adobe Animate CC</code> or <code>Adobe After Effects</code>, and then use SVGAPlayer to render animation on mobile application.</p>
  │                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 44 out of 500 API elements (8.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:svgaplayer_flutter/svgaplayer_flutter.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.

lib/proto/svga.pb.dart:35:69

   ╷
35 │   MovieParams copyWith(void Function(MovieParams) updates) => super.copyWith((message) => updates(message as MovieParams));
   │                                                                     ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/proto/svga.pb.dart

INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.

lib/proto/svga.pb.dart:95:71

   ╷
95 │   SpriteEntity copyWith(void Function(SpriteEntity) updates) => super.copyWith((message) => updates(message as SpriteEntity));
   │                                                                       ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/proto/svga.pb.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
http^0.12.0+10.12.20.13.0
path_drawing^0.4.00.4.1+10.4.1+1
protobuf^1.0.01.1.22.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0
charcode-1.1.31.2.0
collection-1.15.0-nullsafety.31.15.0
fixnum-0.10.111.0.0
http_parser-3.1.44.0.0
meta-1.3.0-nullsafety.31.3.0
path-1.7.01.8.0
path_parsing-0.1.40.1.4
pedantic-1.9.21.10.0
sky_engine-0.0.990.0.99
source_span-1.7.01.8.1
string_scanner-1.0.51.1.0
term_glyph-1.1.01.2.0
typed_data-1.3.0-nullsafety.31.3.0
vector_math-2.1.0-nullsafety.32.1.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.12.0+1` on http does not support the latest published version `0.13.0`

pubspec.yaml:14:9

   ╷
14 │   http: ^0.12.0+1
   │         ^^^^^^^^^
   ╵
The constraint `^1.0.0` on protobuf does not support the latest published version `2.0.0`

pubspec.yaml:13:13

   ╷
13 │   protobuf: "^1.0.0"
   │             ^^^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analysed with Pana 0.14.10, Flutter 1.22.6, Dart 2.10.5.

6
likes
65
pub points
83%
popularity

The SVGAPlayer implementation of Flutter using CustomPainter.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

cuipony@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, http, path_drawing, protobuf

More

Packages that depend on svgaplayer_flutter