stop method
void
stop()
Ends playback — every track and every fade. The playhead stays where it stands — nothing rewinds, so the widget keeps painting the frame it stopped on. play is what returns to the head; frameNo seeks anywhere else.
Implementation
void stop() {
_requireInternal().stop();
if (_ticker?.isActive ?? false) _ticker!.stop();
notifyListeners();
}