survey_kit 1.0.0-dev.8 copy "survey_kit: ^1.0.0-dev.8" to clipboard
survey_kit: ^1.0.0-dev.8 copied to clipboard

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

119
likes
70/ 160
pub points
1.02k
downloads

We analyzed this package 12 hours ago, and awarded it 70 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

59 out of 483 API elements (12.2 %) 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.answerType.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:survey_kit/survey_kit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:survey_kit/survey_kit.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:survey_kit/survey_kit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:survey_kit/survey_kit.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

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/model/step.dart that imports:
  • package:survey_kit/src/model/content/content.dart that imports:
  • package:survey_kit/src/model/content/video_content.dart that imports:
  • package:survey_kit/src/view/widget/content/video_widget.dart that imports:
  • package:survey_kit/src/widget/survey_kit_video_player.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

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/model/step.dart that imports:
  • package:survey_kit/src/model/content/content.dart that imports:
  • package:survey_kit/src/model/content/video_content.dart that imports:
  • package:survey_kit/src/view/widget/content/video_widget.dart that imports:
  • package:survey_kit/src/widget/survey_kit_video_player.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 12 issues. Showing the first 2:

ERROR: Undefined class 'Survey'.

lib/src/model/survey.g.dart:9:1

  ╷
9 │ Survey _$SurveyFromJson(Map<String, dynamic> json) => Survey(
  │ ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/survey.g.dart

ERROR: The function 'Survey' isn't defined.

lib/src/model/survey.g.dart:9:55

  ╷
9 │ Survey _$SurveyFromJson(Map<String, dynamic> json) => Survey(
  │                                                       ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/survey.g.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
chewie ^1.4.0 1.8.6 1.8.6
collection ^1.16.0 1.19.0 1.19.1
cupertino_icons ^1.0.2 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
flutter_markdown ^0.7.4+3 0.7.5 0.7.5
image_picker ^1.0.4 1.1.2 1.1.2
intl >=0.17.0 <0.20.0 0.19.0 0.20.1
json_annotation ^4.0.1 4.9.0 4.9.0
just_audio ^0.9.32 0.9.42 0.9.42
lottie ^3.0.0 3.3.0 3.3.0
rxdart ^0.28.0 0.28.0 0.28.0
universal_html ^2.2.1 2.2.4 2.2.4
url_launcher ^6.1.10 6.3.1 6.3.1
uuid ^4.2.1 4.5.1 4.5.1
video_player ^2.6.0 2.9.2 2.9.2
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+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
audio_session - 0.1.23 0.1.23
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
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
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file_selector_linux - 0.9.3+2 0.9.3+2
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.24 2.0.24
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
image_picker_android - 0.8.12+19 0.8.12+19
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
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
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.13 0.4.13
markdown - 7.2.2 7.2.2
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
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
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
universal_io - 2.2.2 2.2.2
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
wakelock_plus - 1.2.10 1.2.10
wakelock_plus_platform_interface - 1.2.2 1.2.2
web - 1.1.0 1.1.0
win32 - 5.10.0 5.10.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `>=0.17.0 <0.20.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 13 errors:

  • UNDEFINED_ANNOTATION - lib/src/model/answer/boolean_answer_format.dart:39:1 - Undefined name 'JsonEnum' used as an annotation.
  • UNDEFINED_FUNCTION - lib/src/model/answer/boolean_answer_format.g.dart:13:15 - The function '$enumDecodeNullable' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/model/content/image_content.g.dart:12:12 - 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.