media_plugin 0.0.8 media_plugin: ^0.0.8 copied to clipboard
Story plugin project.
We analyzed this package 14 hours ago, and awarded it 90 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/shweta-321/media_plugin
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: media_plugin
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 6 API elements (16.7 %) 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: media_plugin
, media_plugin.MyApp
, media_plugin.MyApp.MyApp
, media_plugin.MyApp.title
, media_plugin.main
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:media_plugin/src/widget/my_story.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:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:media_plugin/src/widget/my_story.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:media_plugin/src/widget/camer_picker.dart
that imports:package:flutter_camera/flutter_camera.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package not compatible with platform Web
Because:
package:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:media_plugin/src/widget/my_story.dart
that imports:package:video_player/video_player.dart
that imports:dart:io
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:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:media_plugin/media_plugin.dart
that imports:package:media_plugin/src/media_plugin.dart
that imports:package:media_plugin/src/page/story_list_page.dart
that imports:package:media_plugin/src/widget/my_story.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: Unused import: 'package:image_picker/image_picker.dart'.
lib/src/widget/camer_picker.dart:5:8
╷
5 │ import 'package:image_picker/image_picker.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/camer_picker.dart
WARNING: The operand can't be null, so the condition is always 'true'.
lib/src/widget/camer_picker.dart:30:17
╷
30 │ if(path != null){
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/camer_picker.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cached_network_image |
^3.0.0 |
3.3.1 | 3.4.1 |
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 |
file_picker |
^4.3.2 |
4.6.1 | 8.1.4 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_camera |
^0.1.1 |
0.1.1 | 1.0.0 |
flutter_native_splash |
^2.2.8 |
2.4.2 | 2.4.2 |
image_picker |
^0.8.6 |
0.8.9 | 1.1.2 |
open_file |
^3.2.1 |
3.2.1 | 3.5.9 |
path_provider |
^2.0.11 |
2.0.15 | 2.1.5 |
story_view |
^0.13.2 |
0.13.2 | 0.16.5 |
video_player |
^2.4.7 |
2.9.2 | 2.9.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
ansicolor |
- | 2.0.3 | 2.0.3 |
archive |
- | 3.6.1 | 3.6.1 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
boolean_selector |
- | 2.1.2 | 2.1.2 |
cached_network_image_platform_interface |
- | 4.0.0 | 4.1.1 |
cached_network_image_web |
- | 1.2.0 | 1.3.1 |
camera |
- | 0.9.8+1 | 0.11.0+2 |
camera_android |
- | 0.9.8+3 | 0.10.9+16 |
camera_avfoundation |
- | 0.9.17+5 | 0.9.17+5 |
camera_platform_interface |
- | 2.8.0 | 2.8.0 |
camera_web |
- | 0.2.1+6 | 0.3.5 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
csslib |
- | 1.0.2 | 1.0.2 |
ffi |
- | 1.2.1 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
file_selector_linux |
- | 0.9.3+1 | 0.9.3+1 |
file_selector_macos |
- | 0.9.4+2 | 0.9.4+2 |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 |
file_selector_windows |
- | 0.9.3+3 | 0.9.3+3 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_cache_manager |
- | 3.3.1 | 3.4.1 |
flutter_plugin_android_lifecycle |
- | 2.0.23 | 2.0.23 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.5 | 0.15.5 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
image |
- | 4.3.0 | 4.3.0 |
image_picker_android |
- | 0.8.12+17 | 0.8.12+17 |
image_picker_for_web |
- | 2.2.0 | 3.0.6 |
image_picker_ios |
- | 0.8.12+1 | 0.8.12+1 |
image_picker_linux |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_macos |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_platform_interface |
- | 2.10.0 | 2.10.0 |
image_picker_windows |
- | 0.2.1+1 | 0.2.1+1 |
matcher |
- | 0.12.17 | 0.12.17 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 1.0.6 | 2.0.0 |
octo_image |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.1 | 1.9.1 |
path_provider_android |
- | 2.2.12 | 2.2.12 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.0.7 | 2.3.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
quiver |
- | 3.2.2 | 3.2.2 |
rxdart |
- | 0.27.7 | 0.28.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
sqflite |
- | 2.4.1 | 2.4.1 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+5 | 2.5.4+5 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
stream_transform |
- | 2.1.0 | 2.1.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.3 | 0.7.3 |
typed_data |
- | 1.4.0 | 1.4.0 |
universal_io |
- | 2.2.2 | 2.2.2 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
video_player_android |
- | 2.7.16 | 2.7.16 |
video_player_avfoundation |
- | 2.6.2 | 2.6.2 |
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 |
win32 |
- | 2.6.1 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^4.3.2` on file_picker does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions file_picker
to update the constraint.
The constraint `^0.1.1` on flutter_camera does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions flutter_camera
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.