nui_media 0.0.42
nui_media: ^0.0.42 copied to clipboard
Flutter package for media actions such as selecting image/video from gallery or taking new photo/video.
We analyzed this package 6 days ago, and awarded it 50 pub points (of a possible 130):
0/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis http://dev.g-i.com.my/istudio/docs/core/overview/
was unreachable.
Repository URL doesn't exist.
At the time of the analysis https://neohwei@bitbucket.org/myinglab/flutterstudio.git
was unreachable.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 19 out of 525 API elements (3.6 %) 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.
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:nui_media/nui_media.dart
that imports:package:nui_media/nui_camera_util.dart
that imports:package:nui_media/ui/nui_camera_view.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:nui_media/nui_media.dart
that imports:package:nui_media/nui_camera_util.dart
that imports:package:nui_media/ui/nui_camera_view.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:nui_media/nui_media.dart
that imports:package:nui_media/nui_camera_util.dart
that imports:package:nui_media/ui/nui_camera_view.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:nui_media/nui_media.dart
that imports:package:nui_media/nui_camera_util.dart
that imports:package:nui_media/ui/nui_camera_view.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.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:nui_media/nui_media.dart
that imports:package:nui_media/ui/nui_media_selection_horizontal.dart
that imports:package:nui_media/ui/nui_media_preview.dart
that imports:package:better_player/better_player.dart
that imports:package:better_player/src/core/better_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
Package does not support platform `iOS`.
Because:
package:nui_media/nui_media.dart
that imports:package:nui_media/ui/nui_media_selection_horizontal.dart
that imports:package:nui_media/ui/nui_media_preview.dart
that imports:package:better_player/better_player.dart
that imports:package:better_player/src/core/better_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
10/30 points: code has no errors, warnings, lints, or formatting issues
Found 77 issues. Showing the first 2:
WARNING: Parameters can't override default values, this method overrides 'NUIMediaInterface.compressVideoWithBitmap' where 'maxHeight' has a different value.
lib/nui_media.dart:85:201
╷
85 │ Future<NUIMediaFile> compressVideoWithBitmap(File file, {String targetPath, int quality, VideoQuality videoQuality = VideoQuality.MediumQuality, bool deleteOrigin = false, bool includeAudio = true, double maxHeight = 720, double maxWidth = 720}) {
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/nui_media.dart
WARNING: Parameters can't override default values, this method overrides 'NUIMediaInterface.compressVideoWithBitmap' where 'maxWidth' has a different value.
lib/nui_media.dart:85:225
╷
85 │ Future<NUIMediaFile> compressVideoWithBitmap(File file, {String targetPath, int quality, VideoQuality videoQuality = VideoQuality.MediumQuality, bool deleteOrigin = false, bool includeAudio = true, double maxHeight = 720, double maxWidth = 720}) {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/nui_media.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
animator | ^3.1.0 | 3.2.0 | 3.2.0 |
better_player | ^0.0.73 | 0.0.82 | 0.0.83 |
cached_network_image | ^3.1.0 | 3.2.1 | 3.2.1 |
camera | ^0.9.0 | 0.9.8+1 | 0.9.8+1 |
crop | ^0.5.1+1 | 0.5.2 | 0.5.2 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_image_compress | ^1.1.0 | 1.1.0 | 1.1.0 |
flutter_svg | ^0.22.0 | 0.22.0 | 1.1.0 |
holding_gesture | ^1.1.0 | 1.1.0 | 1.1.0 |
image_gallery_saver | ^1.6.9 | 1.7.1 | 1.7.1 |
image_picker | ^0.8.3+3 | 0.8.5+3 | 0.8.5+3 |
line_awesome_flutter | ^2.0.0 | 2.0.0 | 2.0.0 |
nui_animation | ^0.0.2 | 0.0.2 | 0.0.2 |
nui_core | ^0.0.234 | 0.0.248 | 0.1.1 |
nui_database | ^0.0.10 | 0.0.11 | 0.0.11 |
nui_theme | ^0.0.19 | 0.0.22 | 0.0.22 |
path | ^1.8.0 | 1.8.1 | 1.8.2 |
path_provider | ^2.0.2 | 2.0.11 | 2.0.11 |
permission_handler | ^8.1.4+2 | 8.3.0 | 10.0.0 |
photo_manager | ^1.3.1 | 1.3.10 | 2.1.4 |
video_compress | ^3.1.0 | 3.1.1 | 3.1.1 |
video_player | ^2.1.14 | 2.4.5 | 2.4.5 |
video_thumbnail | ^0.4.3 | 0.4.6 | 0.5.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^0.22.0` on flutter_svg does not support the stable version `0.23.0`.
Try running dart pub upgrade --major-versions flutter_svg
to update the constraint.
The constraint `^0.0.234` on nui_core does not support the stable version `0.1.1`.
Try running dart pub upgrade --major-versions nui_core
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.7.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.12
, Flutter 3.0.2
, Dart 2.17.3
.