Closed Zaboy15 closed 3 years ago
You need import latlong.dart:
import 'package:latlong/latlong.dart';
after importing the import 'package:latlong/latlong.dart'; still i m unable to use Latlng pls help its shows Latlng not defined
And you have added it to your pubspec.yaml?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
this issue still exists :( created a flutterMap widget as suggested on this link, but i see squiggly red line below the LatLng method name.
You need to import latlong2 0.8.0 not latlong. If you have problems still, do a "flutter pub deps" and it will probably highlight it's using an old latlng somewhere.
First Import This to pubspec.yaml Then Import this Then Error will be resolved
Hello , I Have error this Error: Method not found: 'LatLng'.