flutter_lib_utils 1.0.1
flutter_lib_utils: ^1.0.1 copied to clipboard
flutter common utils, it based on AndroidUtilCode on android platform, and Currently, ios platform is supported.
We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/yohom/flutter-utils was unreachable. Make sure that the website is reachable via HEAD requests.
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.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 26 API elements (3.8 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: flutter_lib_utils, flutter_lib_utils.Util, flutter_lib_utils.Util.Util.new, flutter_lib_utils.Util.cnIsNumber, flutter_lib_utils.Util.countCharacters.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: The variable name 'YY' isn't a lowerCamelCase identifier.
lib/flutter_lib_utils.dart:97:12
╷
97 │ String YY = dateArr.split('-')[0];
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_lib_utils.dart
INFO: The variable name 'MM' isn't a lowerCamelCase identifier.
lib/flutter_lib_utils.dart:98:12
╷
98 │ String MM = dateArr.split('-')[1];
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_lib_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
decimal |
^2.3.3 |
2.3.3 | 3.2.4 | |
dio |
^5.3.3 |
5.9.2 | 5.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
rational |
- | 2.2.3 | 2.2.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.3.3` on decimal does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions decimal to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.44.2, Dart 3.12.2.
Check the analysis log for details.