dotlottie_loader 0.0.6 copy "dotlottie_loader: ^0.0.6" to clipboard
dotlottie_loader: ^0.0.6 copied to clipboard

Lightweight dotLottie loader for Flutter. Now in maintenance mode; for new projects, use the official dotlottie-flutter package by LottieFiles.

120/ 160
pub points
8.33k
downloads

We analyzed this package 36 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

3 out of 14 API elements (21.4 %) have documentation comments.

Some symbols that are missing documentation: dotlottie_loader, dotlottie_loader.DotLottie.DotLottie.new, dotlottie_loader.DotLottie.animations, dotlottie_loader.DotLottie.images, dotlottie_loader.DotLottie.manifest.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:dotlottie_loader/dotlottie_loader.dart that imports:
  • package:dotlottie_loader/src/dotlottie_loader_builder.dart that imports:
  • package:dotlottie_loader/src/loaders/network_loader.dart that imports:
  • package:dotlottie_loader/src/loaders/loader_io.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/src/loaders/loader_web.dart:1:1

  ╷
1 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/loaders/loader_web.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive ^4.0.5 4.0.9 4.0.9
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
posix - 6.5.0 6.5.0
vector_math - 2.2.0 2.3.0

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

flutter pub downgrade failed with:

OUT:
Resolving dependencies...
Downloading packages...
< archive 4.0.5 (was 4.0.9)
+ crypto 3.0.3
< ffi 2.0.1 (was 2.2.0)
< path 1.8.3 (was 1.9.1)
< posix 6.0.1 (was 6.5.0)
+ typed_data 1.3.0
Changed 6 dependencies!
8 packages have newer versions incompatible with dependency constraints.
[1 more lines]
ERR:
Exceeded timeout of 0:02:00.000000

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Flutter 3.41.7, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
25
likes
120
points
8.33k
downloads

Documentation

API reference

Publisher

verified publishersartajroshan.tech

Weekly Downloads

Lightweight dotLottie loader for Flutter. Now in maintenance mode; for new projects, use the official dotlottie-flutter package by LottieFiles.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, flutter

More

Packages that depend on dotlottie_loader