flutter_survey_js 0.0.2-dev.9 copy "flutter_survey_js: ^0.0.2-dev.9" to clipboard
flutter_survey_js: ^0.0.2-dev.9 copied to clipboard

Parse and display survey js

6
likes
85/ 140
pub points
57%
popularity

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

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

0/5 points: Provide a valid README.md

No `README.md` found.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting flutter_survey_js... Discovering libraries... Linking elements... Precaching local docs for 1325482 elements... Initialized dartdoc with 2614 libraries Generating docs for library questionnaire_page.dart from package:flutter_survey_js/questionnaire_page.dart... Generating docs for library utils.dart from package:flutter_survey_js/utils.dart... Generating docs for library survey.dart from package:flutter_survey_js/survey.dart... Generating docs for library ui/custom_scroll_behavior.dart from package:flutter_survey_js/ui/custom_scroll_behavior.dart... Generating docs for library ui/survey_configuration.dart from package:flutter_survey_js/ui/survey_configuration.dart... [50 more lines] ERR: warning: private API of package:flutter_survey_js_model is reexported by libraries in other packages: from survey.ImageBuilder.ImageBuilder: (file:///tmp/analyzerESCDNN/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/flutter_survey_js_model-0.0.2-dev.9/lib/src/model/image.g.dart[...] referred to by survey: (file:///tmp/pana_KPVHVK/lib/survey.dart:2:9) referred to by survey: (file:///tmp/pana_KPVHVK/lib/flutter_survey_js.dart:1:9) warning: private API of package:flutter_survey_js_model is reexported by libraries in other packages: from survey.$TextbaseBuilder.$TextbaseBuilder: (file:///tmp/analyzerESCDNN/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/flutter_survey_js_model-0.0.2-dev.9/lib/src/model/text[...] referred to by survey: (file:///tmp/pana_KPVHVK/lib/survey.dart:2:9) referred to by survey: (file:///tmp/pana_KPVHVK/lib/flutter_survey_js.dart:1:9) warning: private API of package:flutter_survey_js_model is reexported by libraries in other packages: from survey.$QuestionBuilder.$QuestionBuilder: (file:///tmp/analyzerESCDNN/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/flutter_survey_js_model-0.0.2-dev.9/lib/src/model/ques[...] [1937 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:flutter_survey_js/flutter_survey_js.dart that imports:
  • package:flutter_survey_js/ui/survey_element_factory.dart that imports:
  • package:flutter_survey_js/ui/elements/image_picker.dart that imports:
  • package:flutter_survey_js/ui/elements/image.dart that imports:
  • package:flutter_survey_js/ui/video_widget.dart that imports:
  • package:appinio_video_player/appinio_video_player.dart that imports:
  • package:appinio_video_player/src/custom_video_player_controller.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_survey_js/flutter_survey_js.dart that imports:
  • package:flutter_survey_js/ui/survey_element_factory.dart that imports:
  • package:flutter_survey_js/ui/elements/image_picker.dart that imports:
  • package:flutter_survey_js/ui/elements/image.dart that imports:
  • package:flutter_survey_js/ui/video_widget.dart that imports:
  • package:appinio_video_player/appinio_video_player.dart that imports:
  • package:appinio_video_player/src/custom_video_player_controller.dart that imports:
  • package:video_player/video_player.dart that 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 not compatible with platform Web

Because:

  • package:flutter_survey_js/flutter_survey_js.dart that imports:
  • package:flutter_survey_js/ui/survey_element_factory.dart that imports:
  • package:flutter_survey_js/ui/elements/image_picker.dart that imports:
  • package:flutter_survey_js/ui/elements/image.dart that imports:
  • package:flutter_survey_js/ui/video_widget.dart that imports:
  • package:appinio_video_player/appinio_video_player.dart that imports:
  • package:appinio_video_player/src/custom_video_player_controller.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

WARNING: Unused import: 'package:flutter_survey_js_expression/flutter_survey_js_expression.dart'.

lib/ui/elements/expression.dart:6:8

  ╷
6 │ import 'package:flutter_survey_js_expression/flutter_survey_js_expression.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/elements/expression.dart

WARNING: Unused import: 'package:reactive_forms/reactive_forms.dart'.

lib/ui/elements/expression.dart:8:8

  ╷
8 │ import 'package:reactive_forms/reactive_forms.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/elements/expression.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
appinio_video_player ^1.2.1 1.2.2 1.3.0
async ^2.11.0 2.11.0 2.11.0
built_collection >=5.1.1 <6.0.0 5.1.1 5.1.1
built_value >=8.4.0 <9.0.0 8.9.2 8.9.2
collection ^1.17.1 1.18.0 1.18.0
file ^6.1.4 6.1.4 7.0.0
flutter flutter 0.0.0 0.0.0
flutter_colorpicker ^1.0.3 1.0.3 1.0.3
flutter_localizations flutter 0.0.0 0.0.0
flutter_survey_js_expression ^0.0.2-dev.9 0.0.2-dev.9 0.0.2-dev.9
flutter_survey_js_model ^0.0.2-dev.9 0.0.2-dev.9 0.0.2-dev.9
flutter_widget_from_html_core ^0.10.0 0.10.6 0.14.11
group_button ^5.2.2 5.3.4 5.3.4
im_stepper ^1.0.1+1 1.0.1+1 1.0.1+1
implicitly_animated_reorderable_list_2 ^0.5.0 0.5.1 0.5.1
intl ^0.18.0 0.18.1 0.19.0
logging ^1.0.1 1.2.0 1.2.0
multiple_localization ^0.4.0 0.4.0 0.4.0
path ^1.8.3 1.9.0 1.9.0
platform ^3.1.0 3.1.4 3.1.4
reactive_advanced_switch ^0.6.1 0.6.1 2.0.0
reactive_date_range_picker ^0.6.0 0.6.0 2.0.1
reactive_forms ^14.3.0 14.3.0 17.0.0
reactive_image_picker ^2.0.0 2.0.0 5.0.0
reactive_segmented_control ^0.6.0 0.6.0 2.0.0
scrollable_positioned_list ^0.3.5 0.3.8 0.3.8
signature ^5.3.2 5.4.1 5.4.1
Transitive dependencies
Package Constraint Compatible Latest
app_settings - 4.3.1 5.1.1
archive - 3.4.10 3.4.10
args - 2.5.0 2.5.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
convert - 3.1.1 3.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
ffi - 2.1.2 2.1.2
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.3+3 0.9.3+3
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_advanced_switch - 3.1.0 3.1.0
flutter_js - 0.8.0 0.8.0
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_svg - 2.0.10+1 2.0.10+1
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image - 4.1.7 4.1.7
image_picker - 0.8.9 1.1.0
image_picker_android - 0.8.10 0.8.10
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.10+1 0.8.10+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
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
one_of - 1.5.0 1.5.0
one_of_serializer - 1.5.0 1.5.0
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
quiver - 3.2.1 3.2.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
sync_http - 0.3.1 0.3.1
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
video_player - 2.8.6 2.8.6
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.5.7 2.5.7
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
web - 0.5.1 0.5.1
xml - 6.5.0 6.5.0

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

Found 8 issues. Showing the first 2:

The constraint `^6.1.4` on file does not support the stable version `7.0.0`.

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

The constraint `^0.10.0` on flutter_widget_from_html_core does not support the stable version `0.14.2`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.