flutter_magento 3.3.2 copy "flutter_magento: ^3.3.2" to clipboard
flutter_magento: ^3.3.2 copied to clipboard

A comprehensive Flutter plugin for Magento e-commerce platform integration with authentication, cart management, product catalog, orders, and offline support

70/ 160
pub points
538
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

992 out of 1780 API elements (55.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_magento.Address, flutter_magento.Address.Address.fromJson, flutter_magento.Address.Address.new, flutter_magento.Aggregation.Aggregation.fromJson, flutter_magento.Aggregation.Aggregation.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/utils/device_utils.dart that imports:
  • package:flutter_magento/src/services/device_info_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/utils/device_utils.dart that imports:
  • package:flutter_magento/src/services/device_info_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/widgets/product_card.dart that imports:
  • package:flutter_magento/src/services/image_cache_service.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:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/utils/device_utils.dart that imports:
  • package:flutter_magento/src/services/device_info_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/utils/device_utils.dart that imports:
  • package:flutter_magento/src/services/device_info_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:flutter_magento/flutter_magento.dart that imports:
  • package:flutter_magento/src/widgets/product_card.dart that imports:
  • package:flutter_magento/src/services/image_cache_service.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.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 397 issues. Showing the first 2:

ERROR: The getter 'attributeCode' isn't defined for the type 'CustomAttribute'.

lib/src/adapters/custom_attributes_adapter.dart:98:58

   ╷
98 │     final attributeCodes = attributes.map((attr) => attr.attributeCode).toSet();
   │                                                          ^^^^^^^^^^^^^
   ╵

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

ERROR: The getter 'attributeCode' isn't defined for the type 'CustomAttribute'.

lib/src/adapters/custom_attributes_manager.dart:132:58

    ╷
132 │     final attributeCodes = attributes.map((attr) => attr.attributeCode).toSet();
    │                                                          ^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
cached_network_image ^3.4.1 3.4.1 3.4.1
connectivity_plus ^7.0.0 7.0.0 7.0.0
crypto ^3.0.6 3.0.6 3.0.6
device_info_plus ^12.1.0 12.1.0 12.1.0
dio ^5.9.0 5.9.0 5.9.0
drift ^2.28.1 2.28.2 2.28.2
flutter_cache_manager ^3.4.1 3.4.1 3.4.1
flutter_riverpod ^3.0.0 3.0.1 3.0.1
flutter_secure_storage ^9.2.4 9.2.4 9.2.4
freezed_annotation ^3.1.0 3.1.0 3.1.0
http ^1.5.0 1.5.0 1.5.0
intl ^0.20.2 0.20.2 0.20.2
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.6.1 2.6.1 2.6.1
path_provider ^2.1.5 2.1.5 2.1.5
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
provider ^6.1.5 6.1.5+1 6.1.5+1
retrofit ^4.7.2 4.7.3 4.7.3
riverpod ^3.0.0 3.0.1 3.0.1
shared_preferences ^2.5.3 2.5.3 2.5.3
socket_io_client ^3.1.2 3.1.2 3.1.2
sqflite ^2.4.2 2.4.2 2.4.2
sqlite3_flutter_libs ^0.5.39 0.5.40 0.5.40
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 89.0.0
analyzer - 7.7.1 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
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.0 1.4.1
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.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 - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
node_preamble - 2.0.2 2.0.2
octo_image - 2.1.0 2.1.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.14 2.4.14
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
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
socket_io_common - 3.1.1 3.1.1
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 2.9.1 2.9.1
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test - 1.26.2 1.26.3
test_api - 0.7.6 0.7.7
test_core - 0.6.11 0.6.12
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1
win32 - 5.14.0 5.14.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 379 errors:

  • UNDEFINED_GETTER - lib/src/adapters/custom_attributes_adapter.dart:98:58 - The getter 'attributeCode' isn't defined for the type 'CustomAttribute'.
  • UNDEFINED_GETTER - lib/src/adapters/custom_attributes_manager.dart:132:58 - The getter 'attributeCode' isn't defined for the type 'CustomAttribute'.
  • UNDEFINED_GETTER - lib/src/api/auth_api.dart:67:37 - The getter 'accessToken' isn't defined for the type 'AuthResponse'.

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.

Weekly downloads

Display as:
By versions: