rive_dart_importer 0.13.7 copy "rive_dart_importer: ^0.13.7" to clipboard
rive_dart_importer: ^0.13.7 copied to clipboard

Rive Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app.

110/ 160
pub points
9
downloads

We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

packages/rive_dart_importer/pubspec.yaml from the repository URL mismatch: expected https://github.com/lynot/rive_generator but got https://github.com/tonyrbf96/flutter_packages.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: rive_dart_importer,
    • contains a version property, and,
    • does not contain a publish_to property.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

330 out of 1230 API elements (26.8 %) have documentation comments.

Some symbols that are missing documentation: components, components.Node, components.Node.Node.new, components.Node.unknown, components.Node.xChanged.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:rive_dart_importer/components.dart that imports:
  • package:rive_dart_importer/src/rive_core/world_transform_component.dart that imports:
  • package:rive_dart_importer/src/generated/world_transform_component_base.dart that imports:
  • package:rive_dart_importer/src/rive_core/container_component.dart that imports:
  • package:rive_dart_importer/src/rive_core/drawable.dart that imports:
  • package:rive_dart_importer/src/rive_core/draw_rules.dart that imports:
  • package:rive_dart_importer/src/rive_core/draw_target.dart that imports:
  • package:rive_dart_importer/src/generated/draw_target_base.dart that imports:
  • package:rive_dart_importer/src/rive_core/component.dart that imports:
  • package:rive_dart_importer/src/rive_core/artboard.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/shape_paint_container.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/paint/stroke.dart that imports:
  • package:rive_dart_importer/src/generated/shapes/paint/stroke_base.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/paint/shape_paint.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/shape.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/path.dart that imports:
  • package:rive_dart_importer/src/generated/shapes/path_base.dart that imports:
  • package:rive_dart_importer/src/rive_core/node.dart that imports:
  • package:rive_dart_importer/src/generated/node_base.dart that imports:
  • package:rive_dart_importer/src/rive_core/transform_component.dart that imports:
  • package:rive_dart_importer/src/rive_core/shapes/clipping_shape.dart that imports:
  • package:rive_dart_importer/src/generated/shapes/clipping_shape_base.dart that imports:
  • package:rive_dart_importer/src/core/core.dart that imports:
  • package:rive_dart_importer/src/runtime_artboard.dart that imports:
  • package:rive_dart_importer/rive.dart that imports:
  • package:rive_dart_importer/src/rive_file.dart that imports:
  • package:rive_dart_importer/src/asset_loader.dart that imports:
  • dart:io
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

Found 27 issues. Showing the first 2:

INFO: Uses 'await' on an instance of 'File', which is not a subtype of 'Future'.

lib/src/asset_loader.dart:137:19

    ╷
137 │     final bytes = await File(assetPath);
    │                   ^^^^^
    ╵

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

INFO: Missing type annotation.

lib/src/controllers/linear_animation_controller.dart:16:27

   ╷
16 │   LinearAnimationInstance(animation,
   │                           ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/controllers/linear_animation_controller.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
collection ^1.15.0 1.19.1 1.19.1
http >=0.13.3 <2.0.0 1.6.0 1.6.0
meta ^1.3.0 1.18.2 1.18.2
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_ANNOTATION - lib/src/rive_core/artboard.dart:367:3 - Undefined name 'mustBeOverridden' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/rive_core/artboard.dart:370:3 - Undefined name 'mustBeOverridden' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/rive_core/artboard.dart:373:3 - Undefined name 'mustBeOverridden' used as an annotation.

Run dart pub downgrade and then dart 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, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
9
downloads

Documentation

API reference

Publisher

verified publishertonyblanco.dev

Weekly Downloads

Rive Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app.

Topics

#animation #ui #effects #widget

License

MIT (license)

Dependencies

collection, http, meta, plugin_platform_interface

More

Packages that depend on rive_dart_importer