title: How to pause flutter video(video_player plugin) when navigating from page to another
body: <p>I'm using flutter video_player(<a href="https://pub.dartlang.org/packages/video_player" rel="noreferrer">https://pub.dartlang.org/packages/video_player</a>) plugin to play videos. But When I navigate from one page to another in flutter the video is still playing. I'm having the same problem when playing music from any other app(eg: playing music from notification while flutter video is playing). How can I pause it? </p>