Flutter Switcheroo | ARCHT - Provide service locator
We need to have a service locator to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in our App instead of using static methods to provide services related to our models, database, and logic. The other benefit of using a service locator is supporting singleton and lazy singleton design patterns to provide dependency injection.
┆Issue is synchronized with this Clickup by Unito
┆Ticket type: