research_package 2.1.1
research_package: ^2.1.1 copied to clipboard
A Flutter framework for obtaining informed consent, showing surveys and collecting results.
We analyzed this package 3 days ago, and awarded it 140 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.
10/10 points: 20% or more of the public API has dartdoc comments
461 out of 727 API elements (63.4 %) have documentation comments.
Some symbols that are missing documentation: model.BlocQuestion.BlocQuestion.new, model.BlocTask.BlocTask.new, model.BlocTask.dispose, model.BlocTask.lastProgressValue, model.CanSaveResult.CanSaveResult.new.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:research_package/research_package.dartthat imports:package:research_package/ui.dartthat imports:package:just_audio/just_audio.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:research_package/research_package.dartthat imports:package:research_package/ui.dartthat imports:package:just_audio/just_audio.dartthat declares support for platforms:Android,iOS,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:research_package/research_package.dartthat imports:package:research_package/ui.dartthat imports:package:just_audio/just_audio.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:research_package/research_package.dartthat imports:package:research_package/ui.dartthat imports:package:just_audio/just_audio.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Library names are not necessary.
lib/research_package.dart:1:9
╷
1 │ library research_package;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/research_package.dart
INFO: The member 'toJson' overrides an inherited member but isn't annotated with '@override'.
lib/src/model/result/signature_result.dart:35:24
╷
35 │ Map<String, dynamic> toJson() => _$RPSignatureResultToJson(this);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/result/signature_result.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
carp_serializable |
^2.0.0 |
2.0.1 | 2.0.1 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
just_audio |
^0.9.0 |
0.9.46 | 0.10.5 | |
rxdart |
>=0.27.0 <1.0.0 |
0.28.0 | 0.28.0 | |
signature |
^5.4.0 |
5.5.0 | 6.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
audio_session |
- | 0.1.25 | 0.2.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_svg |
- | 2.2.2 | 2.2.2 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.5.4 | 4.5.4 | |
just_audio_platform_interface |
- | 4.6.0 | 4.6.0 | |
just_audio_web |
- | 0.4.16 | 0.4.16 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.9.0` on just_audio does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions just_audio to update the constraint.
The constraint `^5.4.0` on signature does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions signature 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.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.