survey_kit 0.2.0 survey_kit: ^0.2.0 copied to clipboard
Create beautiful surveys with Flutter (inspired by iOS ResearchKit Surveys)
We analyzed this package 8 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/quickbirdstudios/survey_kit/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
89 out of 487 API elements (18.3 %) 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: survery_kit
, survery_kit.AnswerFormat
, survery_kit.AnswerFormat.AnswerFormat
, survery_kit.AnswerFormat.AnswerFormat.fromJson
, survery_kit.AnswerFormat.toJson
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:survey_kit/survey_kit.dart
that imports:package:survey_kit/src/widget/survey_progress.dart
that imports:package:survey_kit/src/presenter/survey_state.dart
that imports:package:survey_kit/src/steps/step.dart
that imports:package:survey_kit/src/steps/predefined_steps/completion_step.dart
that imports:package:survey_kit/src/views/completion_view.dart
that imports:package:lottie/lottie.dart
that imports:package:lottie/src/providers/network_provider.dart
that imports:package:lottie/src/providers/provider_io.dart
that 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 57 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/result/question/time_question_result.dart:75:9
╷
75 │ return '0$value';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/result/question/time_question_result.dart
INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/src/views/widget/step_view.dart:34:46
╷
34 │ color: Theme.of(context).colorScheme.background,
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/views/widget/step_view.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bloc |
^8.0.3 |
8.1.4 | 8.1.4 |
camera |
^0.10.0+1 |
0.10.6 | 0.11.0+2 |
collection |
^1.15.0 |
1.18.0 | 1.19.1 |
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 |
equatable |
^2.0.3 |
2.0.5 | 2.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^8.0.1 |
8.1.6 | 8.1.6 |
flutter_platform_widgets |
^6.0.2 |
6.1.0 | 7.0.1 |
go_router |
^12.1.1 |
12.1.3 | 14.6.0 |
image_picker |
^1.0.4 |
1.1.2 | 1.1.2 |
intl |
^0.18.0 |
0.18.1 | 0.20.0 |
json_annotation |
^4.0.1 |
4.9.0 | 4.9.0 |
lottie |
^2.2.0 |
2.7.0 | 3.1.3 |
provider |
^6.0.2 |
6.1.2 | 6.1.2 |
uuid |
^4.2.1 |
4.5.1 | 4.5.1 |
video_player |
^2.1.6 |
2.9.2 | 2.9.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 3.6.1 |
async |
- | 2.12.0 | 2.12.0 |
camera_android |
- | 0.10.9+16 | 0.10.9+16 |
camera_avfoundation |
- | 0.9.17+5 | 0.9.17+5 |
camera_platform_interface |
- | 2.8.0 | 2.8.0 |
camera_web |
- | 0.3.5 | 0.3.5 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.2 | 1.1.2 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
csslib |
- | 1.0.2 | 1.0.2 |
file_selector_linux |
- | 0.9.3+1 | 0.9.3+1 |
file_selector_macos |
- | 0.9.4+2 | 0.9.4+2 |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 |
file_selector_windows |
- | 0.9.3+3 | 0.9.3+3 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_plugin_android_lifecycle |
- | 2.0.23 | 2.0.23 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.5 | 0.15.5 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
image_picker_android |
- | 0.8.12+17 | 0.8.12+17 |
image_picker_for_web |
- | 3.0.6 | 3.0.6 |
image_picker_ios |
- | 0.8.12+1 | 0.8.12+1 |
image_picker_linux |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_macos |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_platform_interface |
- | 2.10.0 | 2.10.0 |
image_picker_windows |
- | 0.2.1+1 | 0.2.1+1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 2.0.0 | 2.0.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
stream_transform |
- | 2.1.0 | 2.1.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
video_player_android |
- | 2.7.16 | 2.7.16 |
video_player_avfoundation |
- | 2.6.2 | 2.6.2 |
video_player_platform_interface |
- | 6.2.3 | 6.2.3 |
video_player_web |
- | 2.3.3 | 2.3.3 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^0.10.0+1` on camera does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions camera
to update the constraint.
The constraint `^6.0.2` on flutter_platform_widgets does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions flutter_platform_widgets
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 7 errors:
UNDEFINED_FUNCTION
-lib/src/answer_format/boolean_answer_format.g.dart:13:15
- The function '$enumDecodeNullable' isn't defined.UNDEFINED_FUNCTION
-lib/src/answer_format/boolean_answer_format.g.dart:16:11
- The function '$enumDecodeNullable' isn't defined.UNDEFINED_FUNCTION
-lib/src/result/question/boolean_question_result.g.dart:16:15
- The function '$enumDecodeNullable' isn't defined.
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.