turn_highlighter

A Flutter package that helps you highlight turns and draw directional arrows along a polyline path on Google Maps.

Ideal for navigation apps, this utility makes it easier to visualize upcoming turns using polylines and arrows.

Features

  • Detects sharp turns based on customizable angle thresholds.
  • Draws white-highlighted segments around each turn.
  • Adds arrowhead polylines to indicate turn direction.
  • Adjustable radius, colors, and polyline width.
  • Lightweight and easy to integrate.

Installation

Add to your pubspec.yaml:

dependencies:
  turn_highlighter: ^1.0.0

Libraries

turn_highlighter