cullingMargin property
Acceptable extent outside of viewport before culling polyline segments
May need to be increased if the Polyline.strokeWidth + Polyline.borderStrokeWidth is large. See the online documentation for more info.
Defaults to 10. Set to null to disable culling.
Implementation
final double? cullingMargin;