stop method

void stop()

Implementation

void stop() {
  _isPlaying = false;
  controller?.pause();
  if (mounted) setState(() {});
}