StepHighlightCallback typedef

StepHighlightCallback = void Function(UiNode target, MissionStep step, String missionId)

Richer highlight hook: also receives the step (for duration_ms) and the mission id (an internal hl_ mission draws through the standalone path). When set it replaces HighlightCallback for drawing.

Implementation

typedef StepHighlightCallback = void Function(
  UiNode target,
  MissionStep step,
  String missionId,
);