mca_official_flutter_sdk 0.7.56-beta.18 copy "mca_official_flutter_sdk: ^0.7.56-beta.18" to clipboard
mca_official_flutter_sdk: ^0.7.56-beta.18 copied to clipboard

The MyCover.ai SDK is a comprehensive Flutter plugin for buying insurance, supporting iOS and Android, with flexible payments, secure transactions, and a user-friendly interface.

1
likes
120/ 160
pub points
182
downloads

We analyzed this package 8 hours ago, and awarded it 120 pub points (of a possible 160):

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

22 out of 163 API elements (13.5 %) 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: locator, locator.locator, mca_official_flutter_sdk, mca_official_flutter_sdk.CarVerificationStep, mca_official_flutter_sdk.ClaimStatus.

10/10 points: Package has an example

failed
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:mca_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_image_network.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:mca_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_image_network.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:mca_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/dialogs_and_popups/generic_dialog.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/claim_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_track_claims_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_documentation_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/widgets/travel_document_flight_delay_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/widgets/custom_time_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/widgets/custom_date_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/form_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/purchase_success_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/inspection_init_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/gadget/gadget_inspection_pageview.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:mca_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_image_network.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system_io.dart that imports:
  • package:path_provider/path_provider.dart that 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:mca_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/dialogs_and_popups/generic_dialog.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/claim_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_track_claims_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_documentation_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/widgets/travel_document_flight_delay_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/widgets/custom_time_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/widgets/custom_date_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/form_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/purchase_success_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/inspection_init_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/gadget/gadget_inspection_pageview.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/gadget/gadget_verification_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/auto_inspection_pageview.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_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/my_cover.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/provider_utils.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/product_list/product_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/data/view_model/base_change_notifier.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/navigator_handler.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/initialization/welcome_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/widgets/custom_appbar.dart that imports:
  • package:mca_official_flutter_sdk/src/dialogs_and_popups/generic_dialog.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/claim_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_track_claims_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/travel_documentation_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/travel/widgets/travel_document_flight_delay_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/claims/widgets/custom_time_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/widgets/custom_date_picker.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/form_view_model.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/purchase/form/purchase_success_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/inspection_init_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/gadget/gadget_inspection_pageview.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/gadget/gadget_verification_screen.dart that imports:
  • package:mca_official_flutter_sdk/src/screens/inspection/auto_inspection_pageview.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_official_flutter_sdk/mca_official_flutter_sdk.dart that imports:
  • package:mca_official_flutter_sdk/src/utils/enum.dart that imports:
  • package:mca_official_flutter_sdk/src/globals.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 132 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/utils/enum.dart:540:7

    ╷
540 │       default:
    │       ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/enum.dart

WARNING: This default clause is covered by the previous cases.

lib/src/utils/enum.dart:553:7

    ╷
553 │       default:
    │       ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/enum.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
animated_toggle_switch ^0.8.2 0.8.4 0.8.4
cached_network_image ^3.3.1 3.4.1 3.4.1
camera ^0.11.0+1 0.11.0+2 0.11.0+2
connectivity_plus ^6.0.3 6.1.1 6.1.1
dartz ^0.10.1 0.10.1 0.10.1
device_info_plus ^10.1.0 10.1.2 11.2.0
dio ^5.4.3+1 5.7.0 5.7.0
dotted_border ^2.1.0 2.1.0 2.1.0
dropdown_button2 ^2.3.9 2.3.9 2.3.9
file_picker ^8.0.5 8.1.7 8.1.7
flutter flutter 0.0.0 0.0.0
flutter_dash ^1.0.0 1.0.0 1.0.0
flutter_dotenv ^5.1.0 5.2.1 5.2.1
flutter_form_builder ^9.2.1 9.6.0 9.6.0
flutter_screenutil ^5.9.1 5.9.3 5.9.3
flutter_secure_storage ^9.2.2 9.2.2 9.2.2
flutter_spinkit ^5.2.1 5.2.1 5.2.1
flutter_svg ^2.0.10+1 2.0.16 2.0.16
flutter_widget_from_html_core ^0.15.1 0.15.2 0.15.2
fluttertoast ^8.2.5 8.2.10 8.2.10
geocoding ^3.0.0 3.0.0 3.0.0
geolocator ^12.0.0 12.0.0 13.0.2
get_it ^7.7.0 7.7.0 8.0.3
google_fonts ^6.2.1 6.2.1 6.2.1
hooks_riverpod ^2.5.1 2.6.1 2.6.1
http_parser ^4.0.2 4.1.1 4.1.1
image_picker ^1.1.2 1.1.2 1.1.2
internet_connection_checker ^1.0.0+1 1.0.0+1 3.0.1
intl ^0.19.0 0.19.0 0.20.1
lottie ^3.1.2 3.3.0 3.3.0
mockito ^5.4.4 5.4.5 5.4.5
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.3 2.1.5 2.1.5
permission_handler ^11.3.1 11.3.1 11.3.1
pin_code_fields ^8.0.1 8.0.1 8.0.1
pretty_dio_logger ^1.3.1 1.4.0 1.4.0
pusher_channels_flutter ^2.2.0 2.4.0 2.4.0
shared_preferences ^2.2.3 2.3.4 2.3.4
shimmer ^3.0.0 3.0.0 3.0.0
video_compress ^3.1.2 3.1.3 3.1.3
webview_flutter ^4.8.0 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
build - 2.4.2 2.4.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.3 8.9.3
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
camera_android_camerax - 0.6.10+3 0.6.10+3
camera_avfoundation - 0.9.17+5 0.9.17+5
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
code_builder - 4.10.1 4.10.1
collection - 1.19.0 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.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
csslib - 1.0.2 1.0.2
dart_style - 3.0.1 3.0.1
dbus - 0.7.10 0.7.10
device_info_plus_platform_interface - 7.0.2 7.0.2
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_hooks - 0.20.5 0.20.5
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_riverpod - 2.6.1 2.6.1
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
geocoding_android - 3.3.1 3.3.1
geocoding_ios - 3.0.1 3.0.1
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 4.6.1 4.6.1
geolocator_apple - 2.3.8+1 2.3.8+1
geolocator_platform_interface - 4.2.4 4.2.4
geolocator_web - 4.1.1 4.1.1
geolocator_windows - 0.2.3 0.2.3
glob - 2.1.2 2.1.2
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
image_picker_android - 0.8.12+19 0.8.12+19
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+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
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
octo_image - 2.1.0 2.1.0
package_config - 2.1.1 2.1.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
riverpod - 2.6.1 2.6.1
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.0 2.4.0
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.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_gen - 2.0.0 2.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
stream_channel - 2.1.3 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
win32 - 5.9.0 5.9.0
win32_registry - 1.1.5 2.0.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^10.1.0` on device_info_plus does not support the stable version `11.0.0`.

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

The constraint `^12.0.0` on geolocator does not support the stable version `13.0.0`.

Try running dart pub upgrade --major-versions geolocator 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.