Is there any way to make the polylines a gradient, and not just the same color?
That code is working well = polylines created but i can't add gradient //Create polylines
void _setPolylLines() {
_polylines.add(
Polyline(
polylineId: PolylineId("polylineHistoryRoute"),
points: polyLinesLatLongs,
width: 4,
patterns: <PatternItem>[PatternItem.dash(25), PatternItem.gap(15)],
color: Color.fromRGBO(86, 168, 235, 1),
),
);
}