flutter_util_code 0.6.0 flutter_util_code: ^0.6.0 copied to clipboard
A Flutter utility class collection library that includes some commonly used functions and encapsulated system API calls to improve development efficiency.
We analyzed this package 3 days ago, and awarded it 120 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
261 out of 302 API elements (86.4 %) have documentation comments.
Some symbols that are missing documentation: app_utils
, connectivity_utils
, date_utils
, date_utils.DateUtils.dateFormat
, date_utils.DateUtils.dateFormat2
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:flutter_util_code/app_utils.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:flutter_util_code/connectivity_utils.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:flutter_util_code/app_utils.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:flutter_util_code/app_utils.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:flutter_util_code/app_utils.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_linux.dart
that imports:dart:io
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:flutter_util_code/app_utils.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.
lib/device_utils.dart:221:22
╷
221 │ 'browserName': describeEnum(data.browserName),
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/device_utils.dart
INFO: Dangling library doc comment.
lib/null_safety_utils.dart:2:1
╷
2 │ /// Created by Fitem on 2023/6/27
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/null_safety_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
android_id |
^0.3.3 |
0.3.6 | 0.3.6 |
connectivity_plus |
^4.0.1 |
4.0.2 | 6.0.3 |
crypto |
^3.0.3 |
3.0.3 | 3.0.3 |
device_info_plus |
^9.0.2 |
9.1.2 | 10.1.0 |
encrypt |
^5.0.1 |
5.0.3 | 5.0.3 |
fast_rsa |
^3.5.7 |
3.6.2 | 3.6.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
fluttertoast |
^8.2.2 |
8.2.5 | 8.2.5 |
intl |
^0.18.1 |
0.18.1 | 0.19.0 |
package_info_plus |
^4.0.2 |
4.2.0 | 8.0.0 |
path_provider |
^2.0.15 |
2.1.3 | 2.1.3 |
permission_handler |
^10.4.1 |
10.4.5 | 11.3.1 |
pointycastle |
^3.7.3 |
3.9.0 | 3.9.0 |
share_plus |
^7.0.2 |
7.2.2 | 9.0.0 |
shared_preferences |
^2.1.1 |
2.2.3 | 2.2.3 |
url_launcher |
^6.1.11 |
6.2.6 | 6.2.6 |
uuid |
^3.0.7 |
3.0.7 | 4.4.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^4.0.1` on connectivity_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^9.0.2` 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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.