nui_media 0.0.42 icon indicating copy to clipboard operation
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.

1
likes
50/ 130
pub points
58%
popularity

We analyzed this package 6 days ago, and awarded it 50 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
10 / 20icon to trigger folding of the section

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

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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.
icon indicating section status
Pass static analysis
10 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
animator^3.1.03.2.03.2.0
better_player^0.0.730.0.820.0.83
cached_network_image^3.1.03.2.13.2.1
camera^0.9.00.9.8+10.9.8+1
crop^0.5.1+10.5.20.5.2
flutterflutter0.0.00.0.0
flutter_image_compress^1.1.01.1.01.1.0
flutter_svg^0.22.00.22.01.1.0
holding_gesture^1.1.01.1.01.1.0
image_gallery_saver^1.6.91.7.11.7.1
image_picker^0.8.3+30.8.5+30.8.5+3
line_awesome_flutter^2.0.02.0.02.0.0
nui_animation^0.0.20.0.20.0.2
nui_core^0.0.2340.0.2480.1.1
nui_database^0.0.100.0.110.0.11
nui_theme^0.0.190.0.220.0.22
path^1.8.01.8.11.8.2
path_provider^2.0.22.0.112.0.11
permission_handler^8.1.4+28.3.010.0.0
photo_manager^1.3.11.3.102.1.4
video_compress^3.1.03.1.13.1.1
video_player^2.1.142.4.52.4.5
video_thumbnail^0.4.30.4.60.5.0
Transitive dependencies
PackageConstraintCompatibleLatest
args-1.6.02.3.1
async-2.9.02.9.0
cached_network_image_platform_interface-1.0.01.0.0
cached_network_image_web-1.0.11.0.1
camera_android-0.9.8+30.9.8+3
camera_avfoundation-0.9.8+20.9.8+2
camera_platform_interface-2.2.02.2.0
camera_web-0.2.1+60.3.0
carousel_slider-4.1.14.1.1
characters-1.2.01.2.1
charcode-1.3.11.3.1
clock-1.1.01.1.1
collection-1.16.01.16.0
collision-0.0.30.0.3
connectivity-3.0.63.0.6
connectivity_for_web-0.4.0+10.4.0+1
connectivity_macos-0.2.1+20.2.1+2
connectivity_platform_interface-2.0.12.0.1
cross_file-0.3.3+10.3.3+1
crypto-3.0.23.0.2
csslib-0.17.20.17.2
cupertino_icons-1.0.51.0.5
date_util-0.1.40.1.4
device_info-2.0.32.0.3
device_info_platform_interface-2.0.12.0.1
ffi-2.0.12.0.1
file-6.1.26.1.2
flutter_blurhash-0.7.00.7.0
flutter_cache_manager-3.3.03.3.0
flutter_localizations-0.0.00.0.0
flutter_markdown-0.2.00.6.10+2
flutter_plugin_android_lifecycle-2.0.62.0.6
flutter_staggered_grid_view-0.3.40.6.1
flutter_web_plugins-0.0.00.0.0
flutter_widget_from_html_core-0.8.5+30.8.5+3
fwfh_text_style-2.7.3+22.7.3+2
html-0.15.00.15.0
html2md-1.2.61.2.6
http-0.13.40.13.4
http_parser-4.0.14.0.1
image_picker_android-0.8.5+10.8.5+1
image_picker_for_web-2.1.82.1.8
image_picker_ios-0.8.5+50.8.5+5
image_picker_platform_interface-2.5.02.5.0
intl-0.17.00.17.0
ios_utsname_ext-1.1.02.1.0
js-0.6.40.6.4
markdown-2.1.85.0.0
matcher-0.12.120.12.12
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
nui_error_handler-0.0.110.0.11
nui_toolbox-0.0.480.0.48
nui_web-0.0.350.0.36
octo_image-1.0.21.0.2
path_drawing-0.5.1+11.0.0
path_parsing-0.2.11.0.0
path_provider_android-2.0.152.0.15
path_provider_ios-2.0.102.0.10
path_provider_linux-2.1.72.1.7
path_provider_macos-2.0.62.0.6
path_provider_platform_interface-2.0.42.0.4
path_provider_windows-2.1.02.1.0
pedantic-1.11.11.11.1
permission_handler_platform_interface-3.7.03.7.0
petitparser-5.0.05.0.0
platform-3.1.03.1.0
plugin_platform_interface-2.1.22.1.2
process-4.2.44.2.4
pull_to_refresh-2.0.02.0.0
quiver-3.1.03.1.0
rxdart-0.27.40.27.4
shared_preferences-2.0.152.0.15
shared_preferences_android-2.0.122.0.12
shared_preferences_ios-2.1.12.1.1
shared_preferences_linux-2.1.12.1.1
shared_preferences_macos-2.0.42.0.4
shared_preferences_platform_interface-2.0.02.0.0
shared_preferences_web-2.0.42.0.4
shared_preferences_windows-2.1.12.1.1
shimmer-1.1.22.0.0
simple_gesture_detector-0.2.00.2.0
skeleton_loader-1.0.2+32.0.0+4
sky_engine-0.0.990.0.99
source_span-1.9.01.9.0
sqflite-2.0.2+12.0.2+1
sqflite_common-2.2.1+12.2.1+1
stack_trace-1.10.01.10.0
states_rebuilder-6.1.0+16.1.0+1
stream_transform-2.0.02.0.0
string_scanner-1.1.11.1.1
synchronized-3.0.0+23.0.0+2
table_calendar-3.0.63.0.6
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
url_launcher-6.1.46.1.4
url_launcher_android-6.0.176.0.17
url_launcher_ios-6.0.176.0.17
url_launcher_linux-3.0.13.0.1
url_launcher_macos-3.0.13.0.1
url_launcher_platform_interface-2.1.02.1.0
url_launcher_web-2.0.122.0.12
url_launcher_windows-3.0.13.0.1
uuid-3.0.63.0.6
vector_math-2.1.22.1.2
video_player_android-2.3.62.3.6
video_player_avfoundation-2.3.52.3.5
video_player_platform_interface-5.1.35.1.3
video_player_web-2.0.102.0.10
visibility_detector-0.2.20.3.3
wakelock-0.6.1+20.6.1+2
wakelock_macos-0.4.00.4.0
wakelock_platform_interface-0.3.00.3.0
wakelock_web-0.4.00.4.0
wakelock_windows-0.2.00.2.0
win32-2.7.02.7.0
workmanager-0.2.40.5.0
xdg_directories-0.2.0+10.2.0+1
xml-5.4.16.1.0

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

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.