nui_media 0.0.13
nui_media: ^0.0.13 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 40 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
- 21 out of 512 API elements (4.1 %) 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/component/nui_app.dart
that imports:package:nui_core/model/nui_theme.dart
that imports:package:nui_core/ui/styling/nui_theme_styling.dart
that imports:package:animated_theme_switcher/animated_theme_switcher.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/component/nui_app.dart
that imports:package:nui_core/model/nui_theme.dart
that imports:package:nui_core/ui/styling/nui_theme_styling.dart
that imports:package:animated_theme_switcher/animated_theme_switcher.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/component/nui_app.dart
that imports:package:nui_core/model/nui_theme.dart
that imports:package:nui_core/ui/styling/nui_theme_styling.dart
that imports:package:animated_theme_switcher/animated_theme_switcher.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/component/nui_app.dart
that imports:package:nui_core/model/nui_theme.dart
that imports:package:nui_core/ui/styling/nui_theme_styling.dart
that imports:package:animated_theme_switcher/animated_theme_switcher.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/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_sharedpref_util.dart
that imports:package:shared_preferences/shared_preferences.dart
that imports:package:shared_preferences_windows/shared_preferences_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
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_sharedpref_util.dart
that imports:package:shared_preferences/shared_preferences.dart
that imports:package:shared_preferences_windows/shared_preferences_windows.dart
that declares support for platforms:Windows
.
0/30 points: code has no errors, warnings, lints, or formatting issues
Found 64 issues. Showing the first 2:
ERROR: The method 'getImage' isn't defined for the type 'ImagePicker'.
lib/nui_media_util.dart:88:38
╷
88 │ final file = await ImagePicker().getImage(source: ImageSource.camera, maxWidth: maxWidth, maxHeight: maxHeight, imageQuality: imageQuality, preferredCameraDevice: selfie == true ? CameraDevice.front : CameraDevice.rear);
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/nui_media_util.dart
ERROR: The method 'getVideo' isn't defined for the type 'ImagePicker'.
lib/nui_media_util.dart:94:38
╷
94 │ final file = await ImagePicker().getVideo(source: ImageSource.camera, preferredCameraDevice: selfie == true ? CameraDevice.front : CameraDevice.rear);
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/nui_media_util.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
animator | ^2.0.1 | 2.0.2 | 3.2.0 |
better_player | ^0.0.43 | 0.0.61 | 0.0.83 |
cached_network_image | ^2.2.0 | 2.5.1 | 3.2.1 |
camera | ^0.5.8 | 0.5.8+17 | 0.9.8+1 |
crop | ^0.4.2 | 0.4.3 | 0.5.2 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_image_compress | ^0.7.0 | 0.7.0 | 1.1.0 |
flutter_svg | ^0.19.0 | 0.19.3 | 1.1.0 |
flutter_video_compress | ^0.3.7+8 | 0.3.7+8 | 0.3.7+8 |
holding_gesture | ^0.0.3 | 0.0.3 | 1.1.0 |
image_gallery_saver | ^1.6.5 | 1.7.1 | 1.7.1 |
image_picker | ^0.6.6+5 | 0.6.6+5 | 0.8.5+3 |
line_awesome_flutter | ^1.0.1 | 1.0.1 | 2.0.0 |
nui_animation | ^0.0.1 | 0.0.2 | 0.0.2 |
nui_core | ^0.0.165 | 0.0.201 | 0.1.1 |
nui_database | ^0.0.2 | 0.0.6 | 0.0.11 |
path | ^1.7.0 | 1.8.2 | 1.8.2 |
path_provider | ^1.6.14 | 1.6.28 | 2.0.11 |
permission_handler | ^5.0.1 | 5.1.0+2 | 10.0.0 |
photo_manager | ^0.5.8 | 0.5.8 | 2.1.4 |
video_player | ^0.10.10 | 0.10.12+5 | 2.4.5 |
video_thumbnail | ^0.2.4 | 0.2.5+1 | 0.5.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 15 issues. Showing the first 2:
The constraint `^2.0.1` on animator does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions animator
to update the constraint.
The constraint `^2.2.0` on cached_network_image does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions cached_network_image
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
.