Skip to main content

x_amap_base 2.0.0+2 copy "x_amap_base: ^2.0.0+2" to clipboard
x_amap_base: ^2.0.0+2 copied to clipboard

AMap flutter plugin, base dependency library for integrating AMapSDK in applications.

130/ 160
pub points
1.98k
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

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

621 out of 638 API elements (97.3 %) have documentation comments.

Some symbols that are missing documentation: amap_flutter_base, amap_flutter_base.AMapApiKey.androidKey, amap_flutter_base.AMapApiKey.iosKey, amap_flutter_base.AMapApiKey.toMap, amap_flutter_base.AMapPrivacyStatement.toMap.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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 not compatible with platform Web

Because:

  • package:x_amap_base/amap_flutter_base.dart that imports:
  • package:x_amap_base/src/types/types.dart that imports:
  • package:x_amap_base/src/types/polyline.dart that imports:
  • package:x_amap_base/src/utils/compatibility/color_extensions.dart that imports:
  • package:x_amap_base/src/utils/compatibility/compatibility_utils.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:x_amap_base/amap_flutter_base.dart that imports:
  • package:x_amap_base/src/types/types.dart that imports:
  • package:x_amap_base/src/types/polyline.dart that imports:
  • package:x_amap_base/src/utils/compatibility/color_extensions.dart that imports:
  • package:x_amap_base/src/utils/compatibility/compatibility_utils.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/method_channel/method_channel_amap_flutter.dart:9:1

  ╷
9 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/method_channel/serialization.dart:6:1

  ╷
6 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Passed report section
Support up-to-date dependencies
40 / 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
collection ^1.19.1 1.19.1 1.19.1
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
stream_transform ^2.1.1 2.1.2 2.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.4 2.4.4

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
1.98k
downloads

Documentation

API reference

Publisher

verified publishermhive.cn

Weekly Downloads

AMap flutter plugin, base dependency library for integrating AMapSDK in applications.

Repository (GitHub)
View/report issues

Topics

#amap #map

License

Apache-2.0 (license)

Dependencies

collection, flutter, plugin_platform_interface, stream_transform

More

Packages that depend on x_amap_base