I am trying to draw multiple waypoints showing in between source and destination using this flutter_polyline_points plugin. However when i add more than two waypoints as static. but it shows only first point which i added in the waypoint list.
1. Please provide a reason i am getting only one way point (or) suggestions. If may i am wrong please notify where i make a mistake.
2. If any one knows better solution rather than this guide me.
// polyline way points added statically
List wayPoint = ;
// polyline result
PolylineResult result = await polylinePoints.getRouteBetweenCoordinates(
Secrets.API_KEY, // Google Maps API Key