d2_touch 1.1.9
d2_touch: ^1.1.9 copied to clipboard
DHIS2 Flutter SDK
We analyzed this package in the last hour, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: LGPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
26 out of 1622 API elements (1.6 %) 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: aggregate.module, aggregate.module.AggregateModule, aggregate.module.AggregateModule.AggregateModule.new, aggregate.module.AggregateModule.createTables, aggregate.module.AggregateModule.dataValue.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:d2_touch/d2_touch.dartthat imports:package:d2_touch/modules/metadata/data_element/data_element.module.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:d2_touch/d2_touch.dartthat imports:package:d2_touch/modules/metadata/data_element/data_element.module.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:d2_touch/d2_touch.dartthat imports:package:d2_touch/modules/metadata/data_element/data_element.module.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 133 issues. Showing the first 2:
INFO: Missing type annotation.
lib/core/database/database_manager.dart:54:3
╷
54 │ initializeDatabase() async {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/database/database_manager.dart
INFO: Missing type annotation.
lib/core/database/database_manager.dart:78:3
╷
78 │ _onConfigure(Database db) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/database/database_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.8.2 |
2.13.0 | 2.13.0 | |
dio |
^5.1.1 |
5.9.0 | 5.9.0 | |
expressions |
^0.2.3 |
0.2.5+3 | 0.2.5+3 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
http_parser |
^4.0.1 |
4.1.2 | 4.1.2 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
math_expressions |
^2.5.0 |
2.7.0 | 3.1.0 | |
mime |
^1.0.2 |
1.0.6 | 2.0.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.8 |
2.1.5 | 2.1.5 | |
petitparser |
^6.0.2 |
6.1.0 | 7.0.1 | |
queue |
^3.1.0+2 |
3.4.0 | 3.4.0 | |
reflectable |
^4.0.5 |
4.0.15 | 5.0.1 | |
shared_preferences |
^2.0.11 |
2.5.4 | 2.5.4 | |
sqflite |
^2.0.1 |
2.4.2 | 2.4.2 | |
sqflite_common_ffi |
^2.1.0 |
2.4.0 | 2.4.0 | |
xml2json |
^5.3.2 |
5.3.6 | 6.2.7 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 85.0.0 | 92.0.0 | |
analyzer |
- | 7.7.1 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 2.4.2 | 4.0.3 | |
build_config |
- | 1.1.2 | 1.2.0 | |
build_daemon |
- | 4.1.1 | 4.1.1 | |
build_resolvers |
- | 2.4.4 | 3.0.4 | Discontinued |
build_runner |
- | 2.4.14 | 2.10.4 | |
build_runner_core |
- | 8.0.0 | 9.3.2 | Discontinued |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.1 | 8.12.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.1 | 3.1.3 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
hooks |
- | 1.0.0 | 1.0.0 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
package_config |
- | 2.2.0 | 2.2.0 | |
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 | |
pool |
- | 1.5.2 | 1.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 2.0.1 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
sqlite3 |
- | 3.1.1 | 3.1.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
timing |
- | 1.0.2 | 1.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 7 issues. Showing the first 2:
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl 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 4 errors:
NON_TYPE_IN_CATCH_CLAUSE-lib/shared/utilities/http-details.util.dart:42:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.NON_TYPE_IN_CATCH_CLAUSE-lib/shared/utilities/http_client.util.dart:67:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.NON_TYPE_IN_CATCH_CLAUSE-lib/shared/utilities/http_client.util.dart:110:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.
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.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.