master_utility 0.0.6 master_utility: ^0.0.6 copied to clipboard
All-in-one utility solution with Size, Navigation, Image Picker, Date Time, Auto Size Text, Toast, Email, Log, Dialog, Cache Image, Validation, API and Shared Preferences.
We analyzed this package 10 hours ago, and awarded it 130 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
435 out of 780 API elements (55.8 %) have documentation comments.
Some symbols that are missing documentation: master_utility
, master_utility.APIConstError
, master_utility.APIConstError.APIConstError
, master_utility.APIConstError.errorLoginFailed
, master_utility.APIConstError.kCancelled
.
10/10 points: Package has 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:master_utility/master_utility.dart
that imports:package:master_utility/src/image_cropper_helper.dart
that imports:package:image_cropper/image_cropper.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:master_utility/master_utility.dart
that imports:package:master_utility/src/permission_helper/permission_helper.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:master_utility/master_utility.dart
that imports:package:master_utility/src/permission_helper/permission_helper.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `Web`.
Because:
package:master_utility/master_utility.dart
that imports:package:master_utility/src/root_device_helper.dart
that imports:package:flutter_jailbreak_detection/flutter_jailbreak_detection.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:master_utility/master_utility.dart
that imports:package:master_utility/src/permission_helper/permission_helper.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:master_utility/master_utility.dart
that imports:package:master_utility/src/permission_helper/permission_helper.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'String', which is not a subtype of 'Future'.
lib/src/api_helper/interceptor/authorization.dart:13:32
╷
13 │ final String accessToken = await PreferenceServiceHelper()
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_helper/interceptor/authorization.dart
INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/permission_helper/dialog_button.dart:23:32
╷
23 │ shadowColor: const MaterialStatePropertyAll(Colors.transparent),
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/permission_helper/dialog_button.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
adaptive_dialog |
^2.1.0 |
2.1.0 | 2.1.0 |
auto_size_text |
^3.0.0 |
3.0.0 | 3.0.0 |
cached_network_image |
^3.3.1 |
3.3.1 | 3.3.1 |
device_info_plus |
^10.0.1 |
10.1.0 | 10.1.0 |
dio |
^5.4.2 |
5.4.3+1 | 5.4.3+1 |
dio_http_formatter |
^3.2.1 |
3.2.1 | 3.2.1 |
file_picker |
^8.0.0+1 |
8.0.3 | 8.0.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_cache_manager |
^3.3.1 |
3.3.2 | 3.3.2 |
flutter_jailbreak_detection |
^1.10.0 |
1.10.0 | 1.10.0 |
flutter_secure_storage |
^9.0.0 |
9.2.1 | 9.2.1 |
fluttertoast |
^8.2.4 |
8.2.5 | 8.2.5 |
image_cropper |
^5.0.1 |
5.0.1 | 6.0.0 |
image_picker |
^1.0.7 |
1.1.1 | 1.1.1 |
image_picker_platform_interface |
^2.9.4 |
2.10.0 | 2.10.0 |
import_sorter |
^4.6.0 |
4.6.0 | 4.6.0 |
intl |
^0.19.0 |
0.19.0 | 0.19.0 |
permission_handler |
^11.3.0 |
11.3.1 | 11.3.1 |
shared_preferences |
^2.2.2 |
2.2.3 | 2.2.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.1` on image_cropper does not support the stable version `6.0.0`, that was published 17 days ago.
When image_cropper is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions image_cropper
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.22.0
, Dart 3.4.0
.
Check the analysis log for details.