multiple_youtube_players 0.2.0 copy "multiple_youtube_players: ^0.2.0" to clipboard
multiple_youtube_players: ^0.2.0 copied to clipboard

PlatformAndroid

A Flutter package which provides various youtube players depending on your requirement

2
likes
120/ 160
pub points
34
downloads

We analyzed this package 3 days 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: BSD-3-Clause.

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

8 out of 11 API elements (72.7 %) have documentation comments.

Some symbols that are missing documentation: youtube_players, youtube_players.YoutubePlayer, youtube_players.YoutubePlayer.uri.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_surface_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:multiple_youtube_players/youtube_players.dart that imports:
  • package:multiple_youtube_players/src/base.dart that imports:
  • package:multiple_youtube_players/src/player.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • dart:io

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/src/utils.dart:11:18

   ╷
11 │   static String? convertUrlToId(
   │                  ^^^^^^^^^^^^^^
   ╵

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

INFO: 'canLaunch' is deprecated and shouldn't be used. Use canLaunchUrl instead.

lib/src/base.dart:89:15

   ╷
89 │     if (await canLaunch(uri.uriAppScheme)) {
   │               ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base.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
android_intent ^2.0.2 2.0.2 2.0.2 Discontinued
logging ^1.0.1 1.3.0 1.3.0
url_launcher ^6.0.6 6.3.1 6.3.1
webview_flutter ^3.0.4 3.0.4 4.11.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
webview_flutter_android - 2.10.4 4.4.1
webview_flutter_platform_interface - 1.9.5 2.11.0
webview_flutter_wkwebview - 2.9.5 3.20.0

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

The constraint `^3.0.4` on webview_flutter does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions webview_flutter 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:

  • android_intent.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
120
points
34
downloads

Publisher

verified publishermagnificsoftware.com

Weekly Downloads

A Flutter package which provides various youtube players depending on your requirement

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

android_intent, flutter, logging, url_launcher, webview_flutter

More

Packages that depend on multiple_youtube_players