tmt_dart_utils 1.2.10
tmt_dart_utils: ^1.2.10 copied to clipboard
The sets of utilities and extension method for Dart projects.
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
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: 20% or more of the public API has dartdoc comments
OUT: Documenting tmt_dart_utils... Discovering libraries... Linking elements... Precaching local docs for 153042 elements... Initialized dartdoc with 233 libraries Generating docs for library tmt_dart_extensions.dart from package:tmt_dart_utils/tmt_dart_extensions.dart... Generating docs for library tmt_dart_utils.dart from package:tmt_dart_utils/tmt_dart_utils.dart... Documented 2 public libraries in 13.2 seconds ERR: warning: ambiguous reexport of tmt_flutter_utils.getFirstDateOfWeek, canonicalization candidates: (tmt_dart_utils, tmt_dart_utils) -> tmt_dart_utils (confidence 0.000) from tmt_flutter_utils.getFirstDateOfWeek: (file:///tmp/pana_RIUOXX/lib/src/datetime/datetime_util.dart:7:10) tmt_dart_utils: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) tmt_dart_utils: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor tmt_flutter_utils.getFirstDateOfWeek} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [222 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:tmt_dart_utils/tmt_dart_utils.dartthat imports:package:tmt_dart_utils/src/other/internet_utils.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/collection/collection_extensions.dart:4:16
╷
4 │ void replace(item, int index) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/collection/collection_extensions.dart
INFO: The import of 'package:tmt_dart_utils/src/string/string_extensions.dart' is unnecessary because all of the used elements are also provided by the import of '../../tmt_dart_utils.dart'.
lib/src/num/num_utils.dart:1:8
╷
1 │ import 'package:tmt_dart_utils/src/string/string_extensions.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/num/num_utils.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
>=1.17.1 <2.0.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.2 |
3.0.7 | 3.0.7 | |
diacritic |
^0.1.3 |
0.1.6 | 0.1.6 | |
intl |
>=0.17.0 <=0.20.2 |
0.20.2 | 0.20.2 | |
path |
>=1.8.3 <2.0.0 |
1.9.1 | 1.9.1 | |
timeago |
^3.3.0 |
3.7.1 | 3.7.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
meta |
- | 1.18.1 | 1.18.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.10, Dart 3.11.2.
Check the analysis log for details.