survey_kit 0.3.0 copy "survey_kit: ^0.3.0" to clipboard
survey_kit: ^0.3.0 copied to clipboard

Create beautiful surveys with Flutter (inspired by iOS ResearchKit Surveys)

118
likes
120/ 160
pub points
1.08k
downloads

We analyzed this package 6 hours ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

87 out of 469 API elements (18.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: 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

OK
Platform support
20 / 20trigger folding of the section

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

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 27 issues. Showing the first 2:

INFO: Use 'whereType' to select elements of a given type.

lib/src/navigator/task_navigator.dart:49:19

   ╷
49 │       (task.steps.where((step) => step is CompletionStep).isEmpty ? 0 : 1);
   │                   ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/navigator/task_navigator.dart

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/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
collection ^1.15.0 1.19.0 1.19.1
cupertino_icons ^1.0.2 1.0.8 1.0.8
equatable ^2.0.3 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.0.1 8.1.6 8.1.6
flutter_markdown ^0.7.1 0.7.5 0.7.5
flutter_platform_widgets ^7.0.0 7.0.1 7.0.1
intl ^0.20.0 0.20.1 0.20.1
json_annotation ^4.0.1 4.9.0 4.9.0
lottie ^3.1.2 3.3.0 3.3.0
provider ^6.0.2 6.1.2 6.1.2
url_launcher ^6.1.5 6.3.1 6.3.1
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 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
fixnum - 1.1.1 1.1.1
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.1.2 4.1.2
markdown - 7.2.2 7.2.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.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
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
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.

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 10 errors:

  • UNDEFINED_FUNCTION - lib/src/answer_format/agreement_answer_format.g.dart:12:15 - The function '$enumDecodeNullable' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/answer_format/agreement_answer_format.g.dart:15:11 - The function '$enumDecodeNullable' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/answer_format/boolean_answer_format.g.dart:13: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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.