Proyek flutter untuk menampilkan listview dan gridview dengan data yang diambil dari API. Pengambilan data dari API dilakukan halaman demi halaman atau tidak sekaligus seluruh data dari API, agar tidak membebani server API.
Sekali pemanggilan ke API, hanya diambil 10 item data, jika pengguna melakukan scroll sampai bawah, akan dipanggil kembali ke API untuk mengambil 10 item data berikutnya, dan seterusnya.
Proyek ini menggunakan API dummyjson.com atau DummyJSON on github
Flutter project to display listview and gridview with data fetched from API. Data retrieval from the API is carried out page by page or not all data from the API at once, so as not to overload the API server.
One call to the API, only 10 data items are retrieved, if the user scrolls to the bottom, the API will be called back to retrieve the next 10 data items, and so on.
This project uses an API dummyjson.com atau DummyJSON on github