flutter – is there a way to communicate to server without any delay

i am trying to create an chat system with the backend of laravel but the problem is how can i listen to the incoming messange and send message without showing loading spinner to the page this is how i tried to fetch message from api and store in my model static Future<Message?> getMessage(BuildContext context) async … Read more