We live in an age where “real-time” is expected.
Chat apps, food delivery updates, live maps, stock tickers — all depend on instant communication.
Traditional APIs (REST) are great, but they rely on a simple cycle:
👉 The client asks for data.
👉 The server replies.
This request/response model works for many cases (fetching products, user profiles, or submitting forms). But when we need the server to notify the client immediately — like “a new message just arrived” — REST starts to feel slow and wasteful.
That’s where WebSockets and libraries like Socket.IO come in.
https://medium.com/@ziad.w.khedr/demystifying-socket-io-real-time-communication-with-flutter-riverpod-ad942fec44c2
Chat apps, food delivery updates, live maps, stock tickers — all depend on instant communication.
Traditional APIs (REST) are great, but they rely on a simple cycle:
👉 The client asks for data.
👉 The server replies.
This request/response model works for many cases (fetching products, user profiles, or submitting forms). But when we need the server to notify the client immediately — like “a new message just arrived” — REST starts to feel slow and wasteful.
That’s where WebSockets and libraries like Socket.IO come in.
https://medium.com/@ziad.w.khedr/demystifying-socket-io-real-time-communication-with-flutter-riverpod-ad942fec44c2
Medium
Demystifying Socket.IO: Real-Time Communication with Flutter & Riverpod
Understand Socket.IO and real-time communication, then integrate it into Flutter with Riverpod for clean, reactive apps step by step
#flutter #widget_of_the_day
DropdownMenu
a text field that displays a dropdown menu of suggested options. It's perfect for forms where you want to give users a set of predefined choices but in a more modern and flexible way than its predecessor.
it is easy to implement and it has a built-in search, where users can type to filter long lists.
to read more about it and find the code here !
DropdownMenu
a text field that displays a dropdown menu of suggested options. It's perfect for forms where you want to give users a set of predefined choices but in a more modern and flexible way than its predecessor.
it is easy to implement and it has a built-in search, where users can type to filter long lists.
to read more about it and find the code here !
