tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
97 stars 82 forks source link

Can't import plugin, missing files? #99

Closed coogle closed 3 months ago

coogle commented 5 months ago

Describe the bug

When I do:

import 'package:flutter_map_location_marker/flutter_map_location_marker.dart';

I get:

../../.pub-cache/hosted/pub.dev/flutter_map_location_marker-8.0.0-dev.2/lib/src/animated_location_marker_layer.dart:2:8:
Error: Error when reading '../../.pub-cache/hosted/pub.dev/flutter_map-6.1.0/lib/plugin_api.dart': No such file or directory
import 'package:flutter_map/plugin_api.dart';

On flutter_map v6.1.0 on Flutter Web

Expected behavior

No compile errors.

tlserver commented 4 months ago

I am unable to reproduce this issue. It appears that you are using v8.0.0-dev.2, which is not the latest version. I recommend upgrading to the latest version of flutter_map_location_marker to see if the issue persists.

ISOLATEDMAN commented 4 months ago

hey, I guess its a compatible issue with flutter_map_location_marker and flutter_map.Its able to read the file but can't find it.. update your dependencies for the flutter_map and flutter_map_location_marker and also to make sure that you have your flutter web supports the updated dependencies... Hope this helps! Let me know if you have any further questions or issues.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 7 days with no activity.