trackasia_gl_web 1.1.3 copy "trackasia_gl_web: ^1.1.3" to clipboard
trackasia_gl_web: ^1.1.3 copied to clipboard

Platformweb

Web platform implementation of trackasia_gl. This package is only intended to be used by the trackasia_gl package.

0
likes
120/ 160
pub points
114
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/trackasia/flutter-trackasia-gl was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/trackasia/flutter-trackasia-gl/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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 licenses: BSD-3-Clause, BSD-2-Clause.

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

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

1 out of 111 API elements (0.9 %) 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: trackasia_gl_web, trackasia_gl_web.Convert, trackasia_gl_web.Convert.Convert.new, trackasia_gl_web.Convert.featureGeometryToFillGeometry, trackasia_gl_web.Convert.fillGeometryToFeatureGeometry.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

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

Because:

  • package:trackasia_gl_web/trackasia_gl_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:trackasia_gl_web/trackasia_gl_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:trackasia_gl_web/trackasia_gl_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:trackasia_gl_web/trackasia_gl_web.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:trackasia_gl_web/trackasia_gl_web.dart that imports:
  • package:trackasia_gl_web/src/util/evented.dart that imports:
  • package:trackasia_gl_web/src/geo/point.dart that imports:
  • package:trackasia_gl_web/src/interop/interop.dart that imports:
  • package:trackasia_gl_web/src/interop/util/evented_interop.dart that imports:
  • package:trackasia_gl_web/src/interop/ui/map_interop.dart that imports:
  • package:trackasia_gl_web/src/interop/ui/handler/touch_zoom_rotate_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js_util

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.

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 100 issues. Showing the first 2:

INFO: 'package:js/js_util.dart' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/src/geo/geojson.dart:1:1

  ╷
1 │ import 'package:js/js_util.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/geo/lng_lat.dart:45:23

   ╷
45 │   ///  @returns {Array<number>} The coordinates represeted as an array of longitude and latitude.
   │                       ^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
image ^4.0.17 4.5.4 4.5.4
js >=0.6.7 <0.8.0 0.7.2 0.7.2 Discontinued
meta ^1.3.0 1.16.0 1.16.0
trackasia_gl_platform_interface ^1.1.2 1.1.2 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
posix - 6.0.2 6.0.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
xml - 6.5.0 6.5.0

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

The constraint `^1.1.2` on trackasia_gl_platform_interface does not support the stable version `2.0.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
114
downloads

Publisher

unverified uploader

Weekly Downloads

Web platform implementation of trackasia_gl. This package is only intended to be used by the trackasia_gl package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause, BSD-2-Clause (license)

Dependencies

flutter, flutter_web_plugins, image, js, meta, trackasia_gl_platform_interface

More

Packages that depend on trackasia_gl_web