flutter poly lines | too many positional arguments issues

Created At: 2024-09-12 07:46:19 Updated At: 2024-09-13 06:25:51

Here we will solve the below issues

well.lib/views/restaurant/directions_page.dart:125:76: Error: Too many positional arguments: 0 allowed, but 3 found.Try removing the extra positional arguments. PolylineResult result = await polylinePoints.getRouteBetweenCoordinates( ^lib/common/utils/http.dart:204:39: Error: Expected a type, but got '>'. requestOptions.extra ??= {}; ^lib/common/utils/http.dart:204:39: Error: This couldn't be parsed. requestOptions.extra ??= {};

The above is a special error about flutter_polyline_points plugin and throws error. Watch the video to solve it.

Another way to solve this poly line problems

Multi vendor app

Comment

Add Reviews