Having a shopping cart icon on the right side of the AppBar on Flutter it’s not that hard, you can use basically a stack widget and inside the stack get IconButton and Positioned widgets. Here is the code and screenshot Spread the love
Author Archives: Nafiz
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 …
Continue reading “Download PDF in Flutter using Java on Android”
API testing in Flutter
It is very common to use API in our Flutter projects. Testing makes the Flutter project very easy to maintain, in this way you will save a lot of debugging time. Also when you have testing in place you can always check whether API working as expected. Let’s create a simple API endpoint in PHP …