onTrack property
void Function(Location position)
onTrack
final
Calls everytime the track updates @position returns the last location tracked
Implementation
final void Function(Location position) onTrack;