musicPosition property
Gets the current playback position of the music in seconds. Returns 0.0 if no music is loaded.
Implementation
double get musicPosition => _music?.currentTime ?? 0.0;
Gets the current playback position of the music in seconds. Returns 0.0 if no music is loaded.
double get musicPosition => _music?.currentTime ?? 0.0;