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

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

109
likes
70/ 140
pub points
88%
popularity

We analyzed this package 5 hours ago, and awarded it 70 pub points (of a possible 140):

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 485 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.

Some symbols that are missing documentation: survery_kit, survery_kit.AnswerFormat, survery_kit.AnswerFormat.AnswerFormat, survery_kit.AnswerFormat.answerType, survery_kit.AnswerFormat.createView.

10/10 points: Package has an example

OK
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_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_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 9 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 / 20trigger 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.1 1.8.1
collection ^1.16.0 1.18.0 1.18.0
cupertino_icons ^1.0.2 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
flutter_markdown ^0.6.13 0.6.23 0.7.1
image_picker ^1.0.4 1.1.1 1.1.1
intl ^0.18.1 0.18.1 0.19.0
json_annotation ^4.0.1 4.9.0 4.9.0
just_audio ^0.9.32 0.9.38 0.9.38
lottie ^3.0.0 3.1.1 3.1.1
rxdart ^0.27.7 0.27.7 0.27.7
universal_html ^2.2.1 2.2.4 2.2.4
url_launcher ^6.1.10 6.2.6 6.2.6
uuid ^4.2.1 4.4.0 4.4.0
video_player ^2.6.0 2.8.6 2.8.6
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.1 3.5.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
audio_session - 0.1.19 0.1.19
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.4 0.9.4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
fixnum - 1.1.0 1.1.0
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.12+1 0.8.12+1
image_picker_for_web - 3.0.4 3.0.4
image_picker_ios - 0.8.11+2 0.8.11+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.11 0.4.11
markdown - 7.2.2 7.2.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
nested - 1.0.0 1.0.0
package_info_plus - 8.0.0 8.0.0
package_info_plus_platform_interface - 3.0.0 3.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.3.0 6.3.0
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.6.1 2.6.1
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
wakelock_plus - 1.2.5 1.2.5
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
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.6.13` on flutter_markdown does not support the stable version `0.7.0`, that was published 28 days ago.

When flutter_markdown is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_markdown to update the constraint.

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.