Component - Repository pattern
The Repository pattern in Flutter helps separate data access logic from UI code. It acts like a middleman that fetches data from different sources (like a web API or local database) and gives it to the app in a simple way.
This makes the app easier to maintain and test, because the UI doesn’t need to know where the data comes from.