mca_flutter_sdk 0.5.0
mca_flutter_sdk: ^0.5.0 copied to clipboard
The Official Flutter MyCover.ai SDK for insurance purchase and payment. Completely supports Android and iOS.
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: mca_flutter_sdk
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: mca_flutter_sdk
.
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
7 out of 44 API elements (15.9 %) 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: mca_flutter_sdk
, mca_flutter_sdk.BodyType
, mca_flutter_sdk.FormScreen
, mca_flutter_sdk.FormScreen.FormScreen.new
, mca_flutter_sdk.FormScreen.email
.
10/10 points: Package has an example
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:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/landing.dart
that imports:package:mca_flutter_sdk/src/views/form.dart
that imports:package:mca_flutter_sdk/src/widgets/dialogs.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/landing.dart
that imports:package:mca_flutter_sdk/src/views/form.dart
that imports:package:mca_flutter_sdk/src/widgets/dialogs.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/landing.dart
that imports:package:mca_flutter_sdk/src/views/form.dart
that imports:package:mca_flutter_sdk/src/widgets/dialogs.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/my_cover.dart
that imports:package:mca_flutter_sdk/src/inspection/inspection.dart
that imports:package:mca_flutter_sdk/src/inspection/demo.dart
that imports:package:mca_flutter_sdk/src/inspection/camera_screen.dart
that imports:package:mca_flutter_sdk/src/services/location_service.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
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:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/my_cover.dart
that imports:package:mca_flutter_sdk/src/inspection/inspection.dart
that imports:package:mca_flutter_sdk/src/inspection/demo.dart
that imports:package:mca_flutter_sdk/src/inspection/camera_screen.dart
that imports:package:mca_flutter_sdk/src/services/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_apple/geolocator_apple.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/my_cover.dart
that imports:package:mca_flutter_sdk/src/inspection/inspection.dart
that imports:package:mca_flutter_sdk/src/inspection/demo.dart
that imports:package:mca_flutter_sdk/src/inspection/camera_screen.dart
that imports:package:mca_flutter_sdk/src/services/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_android/geolocator_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mca_flutter_sdk/mca_flutter_sdk.dart
that imports:package:mca_flutter_sdk/src/views/landing.dart
that imports:package:mca_flutter_sdk/src/views/form.dart
that imports:package:mca_flutter_sdk/src/widgets/dialogs.dart
that imports:package:fluttertoast/fluttertoast.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 307 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/inspection/camera_screen.dart:73:3
╷
73 │ boot() async {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/inspection/camera_screen.dart
INFO: Missing type annotation.
lib/src/inspection/camera_screen.dart:102:3
╷
102 │ changeLoading() {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/inspection/camera_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera |
^0.9.4+14 |
0.9.8+1 | 0.11.2 | |
fluttertoast |
^8.0.8 |
8.2.14 | 9.0.0 | |
geolocator |
^8.0.0 |
8.2.1 | 14.0.2 | |
get |
^4.6.4 |
4.7.2 | 4.7.2 | |
http |
^0.13.4 |
0.13.6 | 1.5.0 | |
image_picker |
^0.8.1 |
0.8.9 | 1.2.0 | |
mockito |
^5.0.3 |
5.5.1 | 5.5.1 | |
permission_handler |
^9.2.0 |
9.2.0 | 12.0.1 | |
sentry_flutter |
^6.9.0 |
6.22.0 | 9.6.0 | |
video_compress |
^3.1.0 |
3.1.4 | 3.1.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 89.0.0 | 89.0.0 | |
analyzer |
- | 8.2.0 | 8.2.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.1 | 4.0.1 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.0 | 8.12.0 | |
camera_android |
- | 0.9.8+3 | 0.10.10+8 | |
camera_avfoundation |
- | 0.9.22 | 0.9.22 | |
camera_platform_interface |
- | 2.11.0 | 2.11.0 | |
camera_web |
- | 0.2.1+6 | 0.3.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.2 | 3.1.2 | |
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+4 | 0.9.4+4 | |
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.30 | 2.0.30 | |
geolocator_android |
- | 3.2.1 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_platform_interface |
- | 4.2.6 | 4.2.6 | |
geolocator_web |
- | 2.2.1 | 4.1.3 | |
geolocator_windows |
- | 0.1.3 | 0.2.5 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+3 | 0.8.13+3 | |
image_picker_for_web |
- | 2.2.0 | 3.1.0 | |
image_picker_ios |
- | 0.8.13 | 0.8.13 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2 | 0.2.2 | |
image_picker_platform_interface |
- | 2.11.0 | 2.11.0 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
package_info_plus |
- | 3.1.2 | 9.0.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 9.0.2+1 | 13.0.1 | |
permission_handler_apple |
- | 9.1.4 | 9.4.7 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
permission_handler_windows |
- | 0.1.3 | 0.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
sentry |
- | 6.22.0 | 9.6.0 | |
source_gen |
- | 4.0.1 | 4.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 4.1.4 | 5.14.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^0.9.4+14` on camera does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions camera
to update the constraint.
The constraint `^8.0.8` on fluttertoast does not support the stable version `9.0.0`, that was published 12 days ago.
When fluttertoast is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions fluttertoast
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 2 errors:
UNDEFINED_CLASS
-lib/src/views/form.dart:165:5
- Undefined class 'XFile'.UNDEFINED_METHOD
-lib/src/views/form.dart:165:43
- The method 'pickImage' isn't defined for the type 'ImagePicker'.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.