apivideo_player_android21 1.1.3 copy "apivideo_player_android21: ^1.1.3" to clipboard
apivideo_player_android21: ^1.1.3 copied to clipboard

The unofficial android 21 Flutter player for api.video for iOS, Android and Web.

75/ 160
pub points
14
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.1.3").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

57 out of 104 API elements (54.8 %) have documentation comments.

Some symbols that are missing documentation: apivideo_player_android21, apivideo_player_android21.ApiVideoMobilePlayer, apivideo_player_android21.ApiVideoMobilePlayer.ApiVideoMobilePlayer.new, apivideo_player_android21.ApiVideoMobilePlayer.getPlaybackRate, apivideo_player_android21.ApiVideoMobilePlayer.setPlaybackRate.

Passed check 10/10 points: Package has an example

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

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

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:apivideo_player_android21/apivideo_player_android21.dart that declares support for platforms: iOS, Web.
Package does not support platform `Windows`.

Because:

  • package:apivideo_player_android21/apivideo_player_android21.dart that declares support for platforms: iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:apivideo_player_android21/apivideo_player_android21.dart that declares support for platforms: iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:apivideo_player_android21/apivideo_player_android21.dart that declares support for platforms: iOS, Web.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

ERROR: The type 'AppLifecycleState' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'AppLifecycleState.hidden'.

lib/src/apivideo_player_android21_life_cycle_observer.dart:17:5

   ╷
17 │     switch (state) {
   │     ^^^^^^
   ╵

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

ERROR: The function 'getProperty' isn't defined.

lib/src/javascript_controller.dart:37:23

   ╷
37 │     return _nested(js.getProperty(jsObject, key));
   │                       ^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
js ^0.6.7 0.6.7 0.7.2 Discontinued
json_annotation ^4.8.1 4.9.0 4.9.0
meta ^1.9.1 1.17.0 1.17.0
plugin_platform_interface ^2.1.3 2.1.8 2.1.8
pointer_interceptor ^0.9.3+4 0.9.3+7 0.10.1+2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
vector_math - 2.2.0 2.2.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

The constraint `^0.9.3+4` on pointer_interceptor does not support the stable version `0.10.0`.

Try running dart pub upgrade --major-versions pointer_interceptor to update the constraint.

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 7 errors:

  • NON_EXHAUSTIVE_SWITCH_STATEMENT - lib/src/apivideo_player_android21_life_cycle_observer.dart:17:5 - The type 'AppLifecycleState' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'AppLifecycleState.hidden'.
  • UNDEFINED_FUNCTION - lib/src/javascript_controller.dart:37:23 - The function 'getProperty' isn't defined.
  • URI_DOES_NOT_EXIST - lib/src/utils/index.dart:2:8 - Target of URI doesn't exist: 'dart:js_util'.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: