string_utility 0.1.2
string_utility: ^0.1.2 copied to clipboard
string utility with common regex use cases. removing whitespace, is valid url, valid email, aphanumeric character, contain uppercase, contain lowercase, etc.
We analyzed this package 3 days ago, and awarded it 80 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
.
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
- 2 out of 13 API elements (15.4 %) 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.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/src/extensions.dart:65:9
╷
65 │ if (this.length == 0) return false;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/extensions.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
email_validator | ^1.0.6 | 1.0.6 | 2.1.17 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.6` on email_validator does not support the stable version `2.0.1`.
Try running dart pub upgrade --major-versions email_validator
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.10.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.25
, Dart 2.19.1
.