currentIndex property

int? currentIndex
final

The index of the currently playing item, or null if no item is selected.

Implementation

// TODO: Consider introducing currentAudioSourceId
final int? currentIndex;