Download PDF in Flutter using Java on Android

Downloading PDF file in the user download directory on Android is a very common feature, a lot of app uses PDF viewing and downloading feature. I hoped that flutter plugins could solve my problem but they didn’t. Fortunately, it was working great on iOS but it was not on android. So I decided to use …