onEdited property
Called when the user edits the polyline path by dragging vertices.
The callback receives the updated list of LatLng points. Only fires when editable is true. Currently only supported on web.
Implementation
final void Function(List<LatLng> points)? onEdited;