mappls_gl 1.2.1 copy "mappls_gl: ^1.2.1" to clipboard
mappls_gl: ^1.2.1 copied to clipboard

A Flutter plugin for integrating MapmyIndia Maps inside a Flutter application on Android, iOS and web platfroms.

70/ 160
pub points
2.53k
downloads

We analyzed this package 4 days ago, and awarded it 70 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.

Repository has no matching pubspec.yaml with name: mappls_gl.

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: mappls_gl,
    • 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: BSD-2-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

490 out of 1673 API elements (29.3 %) have documentation comments.

Some symbols that are missing documentation: mappls_gl, mappls_gl.AddressToken, mappls_gl.AddressToken.AddressToken.new, mappls_gl.AddressToken.city, mappls_gl.AddressToken.district.

Passed check 10/10 points: Package has an example

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

Passed check 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:mappls_gl/mappls_gl.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:mappls_gl/mappls_gl.dart that declares support for platforms: Android, iOS.
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 680 issues. Showing the first 2:

ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'String'.

lib/src/annotation_manager.dart:144:29

    ╷
144 │     final annotation = byId(id);
    │                             ^^
    ╵

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

ERROR: A value of type 'dynamic' can't be assigned to a variable of type 'String?'.

lib/src/api/autosuggest/autosuggest_response.dart:129:22

    ╷
129 │     eLocation.type = map['type'];
    │                      ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api/autosuggest/autosuggest_response.dart

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

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

Package Constraint Compatible Latest Notes
mappls_gl_platform_interface 1.0.2 1.0.2 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

The constraint `1.0.2` on mappls_gl_platform_interface does not support the stable version `2.0.0`.

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

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 385 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/annotation_manager.dart:144:29 - The argument type 'dynamic' can't be assigned to the parameter type 'String'.
  • INVALID_ASSIGNMENT - lib/src/api/autosuggest/autosuggest_response.dart:129:22 - A value of type 'dynamic' can't be assigned to a variable of type 'String?'.
  • INVALID_ASSIGNMENT - lib/src/api/autosuggest/autosuggest_response.dart:130:23 - A value of type 'dynamic' can't be assigned to a variable of type 'int?'.

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
70
points
2.53k
downloads

Publisher

verified publishermapmyindia.com

Weekly Downloads

A Flutter plugin for integrating MapmyIndia Maps inside a Flutter application on Android, iOS and web platfroms.

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, mappls_gl_platform_interface

More

Packages that depend on mappls_gl

Packages that implement mappls_gl