jtpack 0.0.21
jtpack: ^0.0.21 copied to clipboard
This package is intended make life easier for developers
We analyzed this package 34 hours ago, and awarded it 100 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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
16 out of 97 API elements (16.5 %) 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: _modules, async, async.AsyncHandler, async.AsyncHandler.AsyncHandler.new, async.AsyncHandler.httpRequest.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:jtpack/jtpack.dartthat imports:package:jtpack/modules/_modules.dartthat imports:package:jtpack/modules/notification.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:jtpack/jtpack.dartthat imports:package:jtpack/modules/_modules.dartthat imports:package:jtpack/modules/notification.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:jtpack/jtpack.dartthat imports:package:jtpack/modules/_modules.dartthat imports:package:jtpack/modules/notification.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package not compatible with platform Web
Because:
package:jtpack/jtpack.dartthat imports:package:jtpack/modules/_modules.dartthat imports:package:jtpack/modules/notification.dartthat imports:package:fluttertoast/fluttertoast.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Empty catch block.
lib/modules/log.dart:64:17
╷
64 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/log.dart
INFO: Missing type annotation.
lib/modules/notification.dart:9:3
╷
9 │ showSnackbar(String message,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/notification.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.0.1 |
5.9.0 | 5.9.0 | |
flutter_riverpod |
^2.2.0 |
2.6.1 | 3.1.0 | |
fluttertoast |
^9.0.0 |
9.0.0 | 9.0.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
path_provider |
^2.0.13 |
2.1.5 | 2.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
riverpod |
- | 2.6.1 | 3.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
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.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.2.0` on flutter_riverpod does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions flutter_riverpod to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
NON_TYPE_IN_CATCH_CLAUSE-lib/modules/async.dart:14:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.UNDEFINED_IDENTIFIER-lib/modules/async.dart:15:26- Undefined name 'DioExceptionType'.UNDEFINED_IDENTIFIER-lib/modules/async.dart:21:26- Undefined name 'DioExceptionType'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.