Your Flutter screen fetches on every build. It should fetch once.
A screen I reviewed called the API inside build. Every rebuild fired the request again, so a keyboard opening, a theme change, or any setState on the screen sent the same call to the server. The list flickered, the loading spinner came back, and the server saw traffic the user never asked for.
What actually happened
The screen showed a list of orders. The fetch lived inside build, right where the list was described. It looked harmless, because the first time the screen opened, it worked. One request, one list, no visible problem.
Then the user tapped the search field. The keyboard opened, the screen size changed, and build ran again. The fetch ran again. The search field called setState on every keystroke. Another rebuild, another request.…