flutter_flex_player 0.0.4 copy "flutter_flex_player: ^0.0.4" to clipboard
flutter_flex_player: ^0.0.4 copied to clipboard

A Flutter package to play video from youtube, vimeo, and direct video links with custom UI.

6
likes
145/ 160
pub points
41
downloads

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

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be well formed Unable to parse 2 image links.

README.md:2:4

  ╷
2 │ <p><a href="%5Bhttps://badges.pufler.dev%5D(https://badges.pufler.dev/visits/Sunil9162/flutter_flex_player)"><img src="https://badges.pufler.dev/visits/Sunil9162/flutter_flex_player" alt="Visits Badge" /></a>
  │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

44 out of 212 API elements (20.8 %) have documentation comments.

Some symbols that are missing documentation: configuration, configuration.FlexPlayerConfiguration, configuration.FlexPlayerConfiguration.FlexPlayerConfiguration, configuration.FlexPlayerConfiguration.aspectRatio, configuration.FlexPlayerConfiguration.autoDispose.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_flex_player/flutter_flex_player.dart that imports:
  • package:flutter_flex_player/pages/full_screen_page.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_controller.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_flex_player/flutter_flex_player.dart that imports:
  • package:flutter_flex_player/pages/full_screen_page.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_controller.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:flutter_flex_player/flutter_flex_player.dart that imports:
  • package:flutter_flex_player/pages/full_screen_page.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_controller.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_abstract.dart that imports:
  • package:flutter_flex_player/helpers/flex_player_sources.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_flex_player/flutter_flex_player.dart that imports:
  • package:flutter_flex_player/pages/full_screen_page.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_controller.dart that imports:
  • package:flutter_flex_player/flutter_flex_player_abstract.dart that imports:
  • package:flutter_flex_player/helpers/flex_player_sources.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/controls/player_controls.dart:45:37

   ╷
45 │                 color: Colors.black.withOpacity(0.6),
   │                                     ^^^^^^^^^^^
   ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/controls/player_controls.dart:108:57

    ╷
108 │                               baseBarColor: Colors.grey.withOpacity(0.5),
    │                                                         ^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
audio_video_progress_bar ^2.0.3 2.0.3 2.0.3
flutter flutter 0.0.0 0.0.0
get ^4.6.6 4.6.6 4.6.6
html ^0.15.4 0.15.5 0.15.5
http ^1.2.2 1.2.2 1.2.2
traffic_stats ^0.0.2 0.0.2 0.0.2
video_player ^2.9.1 2.9.2 2.9.2
youtube_explode_dart ^2.2.1 2.3.6 2.3.6
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
csslib - 1.0.2 1.0.2
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
lists - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 0.3.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

6
likes
145
points
41
downloads

Publisher

verified publishersunilflutter.in

Weekly Downloads

A Flutter package to play video from youtube, vimeo, and direct video links with custom UI.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

audio_video_progress_bar, flutter, get, html, http, traffic_stats, video_player, youtube_explode_dart

More

Packages that depend on flutter_flex_player