Hide loading animation on refresh API call

Database & APIs

Hi, i am building a chat app, using FF and Supabase realtime. On the chat page i have a send button, and on there i have an action that inserts a new row to my backend and executes a callback which refreshes the API call that fetches the messages. But everytime the user sends a message a loader appears. Is there a way to hide the loader and just have a new message appear at the end?

What have you tried so far?

I have tried to set the loader as an empty component, but that just makes the whole list disappear and then reapear again.

Did you check FlutterFlow's Documentation for this topic?
Yes
3 replies