? For example I want to populate listview with animations by getting data from api. But animation is not smooth due to network calls. Could anyone help me please?
run api calls in isolate and while it running play u animations
Use custom StatefullWidget in listview like listTile, which on initState was call ur api to fetch data and wait it for represent thats in future... While fetching they can indicate circular infinite progress... For optimising thats fetch, use custom service which collect all fetchs while short time and send really big fetch, and after result, separate data to end point widgets wia custom StatefullWidget widget at the beginning of that msg
If laggy animation under smartphones, use warm up shaders for skia
Обсуждают сегодня