surveysparrow_flutter_sdk 1.2.2
surveysparrow_flutter_sdk: ^1.2.2 copied to clipboard
SurveySparrow's flutter SDK lets you collect feedback at various touchpoints from your mobile app users. You can easily embed surveys in your mobile app with a few lines of code.
We analyzed this package 21 hours ago, and awarded it 120 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
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 53 API elements (3.8 %) 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: spot_check
, spot_check.SpotCheck
, spot_check.SpotCheck.SpotCheck.new
, spot_check.SpotCheck.customProperties
, spot_check.SpotCheck.domainName
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
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:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:surveysparrow_flutter_sdk/spot_check.dart
that imports:package:surveysparrow_flutter_sdk/spot_check_state.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker_io.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: SpotCheckState.screenHeight, SpotCheckState.screenWidth, SpotCheckState.userDetails, SpotCheckState.controller
lib/spot_check_state.dart:15:7
╷
15 │ class SpotCheckState extends StatelessWidget {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/spot_check_state.dart
/tmp/pana_QNHOYO/lib/surveysparrow.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
file_picker |
^8.1.2 |
8.3.7 | 10.2.0 | |
get |
^4.6.6 |
4.7.2 | 4.7.2 | |
http |
^1.2.1 |
1.4.0 | 1.4.0 | |
image_picker |
^1.1.2 |
1.1.2 | 1.1.2 | |
shared_preferences |
^2.2.3 |
2.5.3 | 2.5.3 | |
uuid |
^4.4.2 |
4.5.1 | 4.5.1 | |
webview_flutter |
^4.10.0 |
4.13.0 | 4.13.0 | |
webview_flutter_android |
^4.3.1 |
4.7.0 | 4.7.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
file_selector_linux |
- | 0.9.3+2 | 0.9.3+2 | |
file_selector_macos |
- | 0.9.4+3 | 0.9.4+3 | |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 | |
file_selector_windows |
- | 0.9.3+4 | 0.9.3+4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.28 | 2.0.28 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.12+23 | 0.8.12+23 | |
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+2 | 0.2.1+2 | |
image_picker_macos |
- | 0.2.1+2 | 0.2.1+2 | |
image_picker_platform_interface |
- | 2.10.1 | 2.10.1 | |
image_picker_windows |
- | 0.2.1+1 | 0.2.1+1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_platform_interface |
- | 2.13.1 | 2.13.1 | |
webview_flutter_wkwebview |
- | 3.22.0 | 3.22.0 | |
win32 |
- | 5.14.0 | 5.14.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.1.2` on file_picker does not support the stable version `9.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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.