simple_player 2.1.0
simple_player: ^2.1.0 copied to clipboard
SimplePlayer offers all the essential tools for viewing videos in your mobile applications in a simplified way!
We analyzed this package 17 hours ago, and awarded it 140 pub points (of a possible 160):
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 100 API elements (27.0 %) have documentation comments.
Some symbols that are missing documentation: brightness_slider
, brightness_slider.BbrightnessStateSlider
, brightness_slider.BbrightnessStateSlider.BbrightnessStateSlider.new
, brightness_slider.BbrightnessStateSlider.initializeInterface
, brightness_slider.BrightnessSlider
.
10/10 points: Package has an example
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:simple_player/simple_player.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:simple_player/simple_player.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Web`.
Because:
package:simple_player/simple_player.dart
that imports:package:simple_player/presentation/simple_player_screen.dart
that imports:package:simple_player/presentation/widgets/settings_screen.dart
that imports:package:simple_player/presentation/widgets/brightness_slider.dart
that imports:package:screen_brightness/screen_brightness.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:simple_player/simple_player.dart
that imports:package:video_player/video_player.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/constants/constants.dart:24:33
╷
24 │ overlayColor: accentColor.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/constants/constants.dart
INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre.
lib/presentation/simple_player_fullscreen.dart:326:12
╷
326 │ return WillPopScope(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/simple_player_fullscreen.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
screen_brightness |
>=0.2.2 <1.0.0 |
0.2.2+1 | 2.1.5 | |
video_player |
>=2.8.2 <=3.0.0 |
2.10.0 | 2.10.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
html |
- | 0.15.6 | 0.15.6 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
screen_brightness_android |
- | 0.1.0+2 | 2.1.2 | |
screen_brightness_ios |
- | 0.1.0 | 2.1.2 | |
screen_brightness_macos |
- | 0.1.0+1 | 2.1.1 | |
screen_brightness_platform_interface |
- | 0.1.0 | 2.1.0 | |
screen_brightness_windows |
- | 0.1.3 | 2.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
video_player_android |
- | 2.8.7 | 2.8.7 | |
video_player_avfoundation |
- | 2.7.2 | 2.7.2 | |
video_player_platform_interface |
- | 6.4.0 | 6.4.0 | |
video_player_web |
- | 2.3.5 | 2.3.5 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.2.2 <1.0.0` 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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.