【发布时间】:2020-12-14 13:27:59
【问题描述】:
我升级了我的 pub 文件并将我的 flutter_polyline_points 依赖项从 0.1.0 更新到 0.2.4 时出错,说此方法只接受 3 个参数并且正在使用 5 个。
List<PointLatLng> result = await polylinePoints?.getRouteBetweenCoordinates(
googleAPIKey,
sourceLocatioon.latitude,
sourceLocatioon.longitude,
destLocatioon.latitude,
destLocatioon.longitude
);
但它适用于flutter_polyline_points 0.1.0
【问题讨论】:
标签: flutter google-maps dart