flet_video 0.25.2 flet_video: ^0.25.2 copied to clipboard
Flet Video control
We analyzed this package 11 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Repository URL doesn't exist.
At the time of the analysis https://github.com/flet-dev/flet/packages/flet_video
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 3 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: flet_video
, flet_video.createControl
, flet_video.ensureInitialized
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dart
that imports:package:screen_brightness/screen_brightness.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
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:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/src/video/video.dart
that imports:package:media_kit_video/src/video/video_texture.dart
that imports:package:media_kit_video/src/utils/wakelock.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/src/video/video.dart
that imports:package:media_kit_video/src/video/video_texture.dart
that imports:package:media_kit_video/src/utils/wakelock.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dart
that imports:package:volume_controller/volume_controller.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dart
that imports:package:screen_brightness/screen_brightness.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `macOS`.
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart
that imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dart
that imports:package:volume_controller/volume_controller.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flet_video/flet_video.dart
that imports:package:flet_video/src/create_control.dart
that imports:package:flet_video/src/video.dart
that imports:package:flet_video/src/utils/video.dart
that imports:package:media_kit_video/media_kit_video.dart
that imports:package:media_kit_video/src/video/video.dart
that imports:package:media_kit_video/src/video/video_texture.dart
that imports:package:media_kit_video/src/video_controller/platform_video_controller.dart
that imports:package:media_kit_video/src/video_controller/video_controller.dart
that imports:package:media_kit_video/src/video_controller/web_video_controller/web_video_controller.dart
that imports:package:media_kit_video/src/video_controller/web_video_controller/stub.dart
that imports:package:media_kit/media_kit.dart
that imports:package:media_kit/src/player/web/player/player.dart
that imports:package:media_kit/src/player/web/player/stub.dart
that imports:package:media_kit/src/player/platform_player.dart
that imports:package:media_kit/src/models/player_stream.dart
that imports:package:media_kit/src/models/playlist.dart
that imports:package:media_kit/src/models/media/media.dart
that imports:package:media_kit/src/models/media/media_native.dart
that imports:package:media_kit/src/player/native/utils/android_content_uri_provider.dart
that imports:package:media_kit/src/player/native/utils/isolates.dart
that imports:dart:isolate
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/utils/video.dart:23:48
╷
23 │ m = json.map((e) => videoMediaFromJSON(e)).whereNotNull().toList();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/video.dart
/tmp/pana_DJIEKJ/lib/src/video.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.0 | 1.19.1 |
flet |
^0.25.2 |
0.25.2 | 0.25.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
media_kit |
^1.1.10 |
1.1.11 | 1.1.11 |
media_kit_libs_video |
^1.0.4 |
1.0.5 | 1.0.5 |
media_kit_video |
^1.2.4 |
1.2.5 | 1.2.5 |
Transitive dependencies
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.