fplayer 1.1.1 copy "fplayer: ^1.1.1" to clipboard
fplayer: ^1.1.1 copied to clipboard

A Video Player Flutter plugin based on fplayer-core, support most popular protocols and codecs.

13
likes
130/ 160
pub points
64%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

148 out of 229 API elements (64.6 %) have documentation comments.

Some symbols that are missing documentation: fplayer, fplayer.FData, fplayer.FData.FData, fplayer.FData.clearValue, fplayer.FData.contains.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

  • package:fplayer/fplayer.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:fplayer/fplayer.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:fplayer/fplayer.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fplayer/fplayer.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that imports:
  • package:upower/src/upower_client.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_value.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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/fplayer/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 13 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/core/f_vol.dart:219:19

    ╷
219 │       if (overlay != null) overlay.insert(entry);
    │                   ^^^^^^^
    ╵

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

INFO: The part-of directive uses a library name.

lib/core/f_log.dart:1:1

  ╷
1 │ part of fplayer;
  │ ^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
battery_plus ^3.0.2 3.0.6 6.2.0
flutter flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
screen_brightness ^0.2.2 0.2.2+1 2.0.0+2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
battery_plus_platform_interface - 1.2.2 2.0.1
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
petitparser - 6.0.2 6.0.2
screen_brightness_android - 0.1.0+2 2.0.0
screen_brightness_ios - 0.1.0 2.0.0
screen_brightness_macos - 0.1.0+1 2.0.0
screen_brightness_platform_interface - 0.1.0 2.0.0
screen_brightness_windows - 0.1.3 2.0.0
sky_engine - 0.0.99 0.0.99
upower - 0.7.0 0.7.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^3.0.2` on battery_plus does not support the stable version `4.0.0`.

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

The constraint `^0.2.2` on screen_brightness does not support the stable version `1.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

13
likes
130
pub points
64%
popularity

Publisher

unverified uploader

A Video Player Flutter plugin based on fplayer-core, support most popular protocols and codecs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

battery_plus, flutter, plugin_platform_interface, screen_brightness

More

Packages that depend on fplayer