showRouteLegButtons method

Future<void> showRouteLegButtons(
  1. bool show
)

Enable/Disable route leg buttons that are shown at the start and end of each leg.

It is recommended to only disable these buttons in the case alternative UI has been created to allow for switching route legs.

Implementation

Future<void> showRouteLegButtons(bool show) =>
    DirectionsRendererPlatform.instance.showRouteLegButtons(show);