ns_utils 1.2.3  ns_utils: ^1.2.3 copied to clipboard
ns_utils: ^1.2.3 copied to clipboard
ns_utils is a powerful Flutter utility library that simplifies and enhances your Flutter app development experience. It provides a collection of methods and extensions to streamline your code, making [...]
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
 0/10 points: Provide a valid
 0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: MIT.
 10/10 points: 20% or more of the public API has dartdoc comments
 10/10 points: 20% or more of the public API has dartdoc comments
526 out of 1072 API elements (49.1 %) have documentation comments.
Some symbols that are missing documentation: constants, context, context.ContextExtensions, context.ContextExtensions.mq, conversion.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Windows 
- 
✓ Linux 
- 
✓ macOS 
- 
✓ Web 
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:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:package_info_plus/package_info_plus.dartthat imports:
- package:package_info_plus/src/package_info_plus_windows.dartthat imports:
- package:package_info_plus/src/file_version_info.dartthat imports:
- package:win32/win32.dartthat declares support for platforms:- Windows.
Package does not support platform `iOS`.
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:package_info_plus/package_info_plus.dartthat imports:
- package:package_info_plus/src/package_info_plus_windows.dartthat imports:
- package:package_info_plus/src/file_version_info.dartthat imports:
- package:win32/win32.dartthat declares support for platforms:- Windows.
Package does not support platform `Windows`.
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:cached_network_image/cached_network_image.dartthat imports:
- package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:
- package:flutter_cache_manager/flutter_cache_manager.dartthat imports:
- package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:
- package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:
- package:sqflite/sqflite.dartthat declares support for platforms:- Android,- iOS,- macOS.
Package does not support platform `Linux`.
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:package_info_plus/package_info_plus.dartthat imports:
- package:package_info_plus/src/package_info_plus_windows.dartthat imports:
- package:package_info_plus/src/file_version_info.dartthat imports:
- package:win32/win32.dartthat declares support for platforms:- Windows.
Package does not support platform `macOS`.
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:package_info_plus/package_info_plus.dartthat imports:
- package:package_info_plus/src/package_info_plus_windows.dartthat imports:
- package:package_info_plus/src/file_version_info.dartthat imports:
- package:win32/win32.dartthat declares support for platforms:- Windows.
Package does not support platform `Web`.
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:cached_network_image/cached_network_image.dartthat imports:
- package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:
- package:flutter_cache_manager/flutter_cache_manager.dartthat imports:
- package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:
- package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:
- package:path_provider/path_provider.dartthat declares support for platforms:- Android,- iOS,- Windows,- Linux,- macOS.
 0/0 points: WASM compatibility
 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
- package:ns_utils/extensions/context.dartthat imports:
- package:ns_utils/src.dartthat imports:
- package:package_info_plus/package_info_plus.dartthat imports:
- package:package_info_plus/src/package_info_plus_windows.dartthat imports:
- package:package_info_plus/src/file_version_info.dartthat imports:
- package:win32/win32.dartthat imports:
- package:win32/src/com/iwinhttprequest.dartthat imports:
- package:win32/src/com/iunknown.dartthat imports:
- package:win32/src/utils.dartthat imports:
- package:win32/src/win32/user32.g.dartthat imports:
- package:win32/src/variant.dartthat imports:
- package:win32/src/win32/oleaut32.g.dartthat imports:
- package:win32/src/structs.g.dartthat imports:
- package:win32/src/guid.dartthat imports:
- package:win32/src/win32/ole32.g.dartthat imports:
- package:win32/src/combase.dartthat imports:
- package:win32/src/macros.dartthat imports:
- package:win32/src/inline.dartthat imports:
- package:win32/src/win32/uxtheme.g.dartthat imports:
- package:win32/src/callbacks.dartthat imports:
- package:win32/src/types.dartthat imports:
- package:ffi/ffi.dartthat imports:
- package:ffi/src/utf8.dartthat imports:
- dart:ffi
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
 40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/extensions/map.dart:145:21
    ╷
145 │ dynamic toEncodable(object) {
    │                     ^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/extensions/map.dart
 0/10 points: All of the package dependencies are supported in the latest version
 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| after_layout | ^1.2.0 | 1.2.0 | 1.2.0 | |
| cached_network_image | ^3.3.0 | 3.4.1 | 3.4.1 | |
| device_info_plus | ^9.0.3 | 9.1.2 | 12.2.0 | |
| flutter_screenutil | ^5.9.0 | 5.9.3 | 5.9.3 | |
| flutter_spinkit | ^5.2.0 | 5.2.2 | 5.2.2 | |
| intl | ^0.18.1 | 0.18.1 | 0.20.2 | |
| objectid | ^3.0.0 | 3.1.0 | 4.0.1 | |
| package_info_plus | ^4.1.0 | 4.2.0 | 9.0.0 | |
| recase | ^4.1.0 | 4.1.0 | 4.1.0 | |
| shared_preferences | ^2.2.1 | 2.5.3 | 2.5.3 | |
| visibility_detector | ^0.4.0+2 | 0.4.0+2 | 0.4.0+2 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| async | - | 2.13.0 | 2.13.0 | |
| cached_network_image_platform_interface | - | 4.1.1 | 4.1.1 | |
| cached_network_image_web | - | 1.3.1 | 1.3.1 | |
| characters | - | 1.4.0 | 1.4.1 | |
| clock | - | 1.1.2 | 1.1.2 | |
| collection | - | 1.19.1 | 1.19.1 | |
| crypto | - | 3.0.6 | 3.0.6 | |
| device_info_plus_platform_interface | - | 7.0.3 | 7.0.3 | |
| ffi | - | 2.1.4 | 2.1.4 | |
| file | - | 7.0.1 | 7.0.1 | |
| fixnum | - | 1.1.1 | 1.1.1 | |
| flutter_cache_manager | - | 3.4.1 | 3.4.1 | |
| http | - | 1.5.0 | 1.5.0 | |
| http_parser | - | 4.1.2 | 4.1.2 | |
| material_color_utilities | - | 0.11.1 | 0.13.0 | |
| meta | - | 1.16.0 | 1.17.0 | |
| octo_image | - | 2.1.0 | 2.1.0 | |
| package_info_plus_platform_interface | - | 2.0.1 | 3.2.1 | |
| path | - | 1.9.1 | 1.9.1 | |
| path_provider | - | 2.1.5 | 2.1.5 | |
| path_provider_android | - | 2.2.20 | 2.2.20 | |
| path_provider_foundation | - | 2.4.3 | 2.4.3 | |
| path_provider_linux | - | 2.2.1 | 2.2.1 | |
| path_provider_platform_interface | - | 2.1.2 | 2.1.2 | |
| path_provider_windows | - | 2.3.0 | 2.3.0 | |
| platform | - | 3.1.6 | 3.1.6 | |
| plugin_platform_interface | - | 2.1.8 | 2.1.8 | |
| rxdart | - | 0.28.0 | 0.28.0 | |
| shared_preferences_android | - | 2.4.15 | 2.4.15 | |
| shared_preferences_foundation | - | 2.5.5 | 2.5.5 | |
| shared_preferences_linux | - | 2.4.1 | 2.4.1 | |
| shared_preferences_platform_interface | - | 2.4.1 | 2.4.1 | |
| shared_preferences_web | - | 2.4.3 | 2.4.3 | |
| shared_preferences_windows | - | 2.4.1 | 2.4.1 | |
| source_span | - | 1.10.1 | 1.10.1 | |
| sprintf | - | 7.0.0 | 7.0.0 | |
| sqflite | - | 2.4.2 | 2.4.2 | |
| sqflite_android | - | 2.4.2+2 | 2.4.2+2 | |
| sqflite_common | - | 2.5.6 | 2.5.6 | |
| sqflite_darwin | - | 2.4.2 | 2.4.2 | |
| sqflite_platform_interface | - | 2.4.0 | 2.4.0 | |
| string_scanner | - | 1.4.1 | 1.4.1 | |
| synchronized | - | 3.4.0 | 3.4.0 | |
| term_glyph | - | 1.2.2 | 1.2.2 | |
| typed_data | - | 1.4.0 | 1.4.0 | |
| uuid | - | 4.5.1 | 4.5.1 | |
| vector_math | - | 2.2.0 | 2.2.0 | |
| web | - | 1.1.1 | 1.1.1 | |
| win32 | - | 5.15.0 | 5.15.0 | |
| win32_registry | - | 1.1.5 | 2.1.0 | |
| xdg_directories | - | 1.1.0 | 1.1.0 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^9.0.3` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl to update the constraint.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.