surveyjs_flutter 0.1.1
surveyjs_flutter: ^0.1.1 copied to clipboard
A Flutter package for rendering SurveyJS forms with support for all question types including dynamic panels, matrix questions, and media inputs.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
96 out of 142 API elements (67.6 %) have documentation comments.
Some symbols that are missing documentation: surveyjs_flutter.JSBridge.JSBridge.new, surveyjs_flutter.JSBridge.runtime, surveyjs_flutter.SurveyConfig.SurveyConfig.new, surveyjs_flutter.SurveyCustomFunction.SurveyCustomFunction.dart, surveyjs_flutter.SurveyCustomFunction.SurveyCustomFunction.js.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:surveyjs_flutter/surveyjs_flutter.dartthat imports:package:surveyjs_flutter/src/core/js_bridge.dartthat imports:package:flutter_js/flutter_js.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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:surveyjs_flutter/surveyjs_flutter.dartthat imports:package:surveyjs_flutter/src/widgets/survey_screen.dartthat imports:package:surveyjs_flutter/src/utils/survey_validator.dartthat imports:package:surveyjs_flutter/src/core/question_factory.dartthat imports:package:surveyjs_flutter/src/widgets/questions/file_question.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:surveyjs_flutter/surveyjs_flutter.dartthat imports:package:surveyjs_flutter/src/widgets/survey_screen.dartthat imports:package:surveyjs_flutter/src/utils/survey_validator.dartthat imports:package:surveyjs_flutter/src/core/question_factory.dartthat imports:package:surveyjs_flutter/src/widgets/questions/file_question.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:surveyjs_flutter/surveyjs_flutter.dartthat imports:package:surveyjs_flutter/src/widgets/survey_screen.dartthat imports:package:surveyjs_flutter/src/utils/survey_validator.dartthat imports:package:surveyjs_flutter/src/core/question_factory.dartthat imports:package:surveyjs_flutter/src/widgets/questions/file_question.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:surveyjs_flutter/surveyjs_flutter.dartthat imports:package:surveyjs_flutter/src/widgets/survey_screen.dartthat imports:package:surveyjs_flutter/src/utils/survey_validator.dartthat imports:package:surveyjs_flutter/src/core/question_factory.dartthat imports:package:surveyjs_flutter/src/widgets/questions/file_question.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/question_wrapper.dart:198:33
╷
198 │ requiredText.isEmpty) return null;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/question_wrapper.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/question_wrapper.dart:213:62
╷
213 │ widget.question['description'].toString().isEmpty) return null;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/question_wrapper.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
file_picker |
^10.3.10 |
10.3.10 | 12.0.0 | |
flutter_html |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_js |
^0.8.7 |
0.8.7 | 0.8.7 | |
flutter_svg |
^2.2.3 |
2.3.0 | 2.3.0 | |
image |
^4.8.0 |
4.9.1 | 4.9.1 | |
image_picker |
^1.2.1 |
1.2.3 | 1.2.3 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
signature |
^6.3.0 |
6.4.0 | 6.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+4 | 0.3.5+4 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.13 | 0.7.14 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file_selector_linux |
- | 0.9.4 | 0.9.4 | |
file_selector_macos |
- | 0.9.5 | 0.9.5 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+5 | 0.9.3+5 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+19 | 0.8.13+19 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+6 | 0.8.13+6 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
list_counter |
- | 1.0.2 | 1.0.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.18.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
sync_http |
- | 0.3.1 | 0.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.2.3 | 1.2.3 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.0 | 1.3.0 | |
vector_math |
- | 2.2.0 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^10.3.10` on file_picker does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions file_picker to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Flutter 3.44.9, Dart 3.12.2.
Check the analysis log for details.