amap_flutter_sdk 0.1.7 copy "amap_flutter_sdk: ^0.1.7" to clipboard
amap_flutter_sdk: ^0.1.7 copied to clipboard

Unified AMap Flutter SDK — Map, Location and Search for Android & iOS. Unofficial community plugin; not affiliated with Amap.

110/ 160
pub points
353
downloads

We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

pubspec.yaml from the repository has a repository or homepage field "https://pub.dev/packages/amap_flutter_sdk" but cannot be parsed as a repository URL: Invalid repository URL: Could not recognize URL segments: /packages/amap_flutter_sdk. Please report at pana.

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: amap_flutter_sdk,
    • contains a version property, and,
    • does not contain a publish_to property.

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: MIT.

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

294 out of 506 API elements (58.1 %) have documentation comments.

Some symbols that are missing documentation: amap_flutter_sdk, amap_flutter_sdk.AMapAccuracyAuthorization, amap_flutter_sdk.AMapApiKey.androidKey, amap_flutter_sdk.AMapApiKey.iosKey, amap_flutter_sdk.AMapApiKey.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 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:amap_flutter_sdk/amap_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:amap_flutter_sdk/amap_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:amap_flutter_sdk/amap_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:amap_flutter_sdk/amap_flutter_sdk.dart that declares support for platforms: Android, iOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/amap_flutter_sdk/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle.kts`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

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

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

Found 7 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/amap_api_key.dart:39:17

   ╷
39 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/amap_privacy_statement.dart:42:17

   ╷
42 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/amap_privacy_statement.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
flutter_plugin_android_lifecycle ^2.0.21 2.0.35 2.0.35
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
stream_transform ^2.1.0 2.1.1 2.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.2 2.4.2

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.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
110
points
353
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Unified AMap Flutter SDK — Map, Location and Search for Android & iOS. Unofficial community plugin; not affiliated with Amap.

License

MIT (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, plugin_platform_interface, stream_transform

More

Packages that depend on amap_flutter_sdk

Packages that implement amap_flutter_sdk