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

Platformweb

A Flutter library that wraps Shaka Player for playing adaptive streaming videos in your Flutter applications.

0
likes
130/ 160
pub points
36
downloads

We analyzed this package 2 days ago, and awarded it 130 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.

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

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

OUT: Documenting flutter_shaka... Discovering libraries... Linking elements... Precaching local docs for 141893 elements... Initialized dartdoc with 126 libraries Generating docs for library extern/streaming_configuration.dart from package:flutter_shaka/extern/streaming_configuration.dart... Generating docs for library extern/manifest_parser.dart from package:flutter_shaka/extern/manifest_parser.dart... Generating docs for library extern/play_configuration.dart from package:flutter_shaka/extern/play_configuration.dart... Generating docs for library extern/init_data_override.dart from package:flutter_shaka/extern/init_data_override.dart... Generating docs for library extern/language_role.dart from package:flutter_shaka/extern/language_role.dart... [69 more lines] ERR: warning: shaka.extern has no library level documentation comments from shaka.extern: (file:///tmp/pana_GWHEGN/lib/extern/streaming_configuration.dart:1:1) warning: shaka.extern has no library level documentation comments from shaka.extern: (file:///tmp/pana_GWHEGN/lib/extern/manifest_parser.dart:1:1) error: file already written at "shaka.extern/index.html" for symbol shaka.extern: (file:///tmp/pana_GWHEGN/lib/extern/manifest_parser.dart:1:1) conflicting with file already generated by shaka.extern: (file:///tmp/pana_GWHEGN/lib/extern/streaming_configuration.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'shaka.extern' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [595 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_shaka/flutter_shaka.dart that imports:
  • package:flutter_shaka/player.dart that imports:
  • package:flutter_shaka/net/net.dart that imports:
  • package:flutter_shaka/net/net_js.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Found 58 issues. Showing the first 2:

INFO: 'dart:js' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/extern/dash_manifest_configuration.dart:5:1

  ╷
5 │ import 'dart:js';
  │ ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/extern/dash_manifest_configuration.dart:41:14

   ╷
41 │   ///    Object.<string, string>    A map of scheme URI to key system name. Defaults to default key systems mapping handled by Shaka.
   │                 ^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
Transitive dependencies
Package Constraint Compatible Latest Notes
meta - 1.17.0 1.17.0

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

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 package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter library that wraps Shaka Player for playing adaptive streaming videos in your Flutter applications.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

js

More

Packages that depend on flutter_shaka