[Proposal] Enhance Get Package with findOrPut Extension #3296
EngrTAHAR-Noureddine
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Flutter Community,
I'm proposing a new extension for the Get package to enhance its dependency injection capabilities. This extension, findOrPut, simplifies the process of retrieving a dependency from the Get service locator, or creating and registering it if it doesn't already exist.
Here's the proposed extension:
Benefits:
Usage Example:
I believe this extension would be a valuable addition to the Get package, making dependency injection more efficient and elegant for Flutter developers.
I'm eager to hear your feedback and address any concerns you may have. I'm confident that this extension can significantly improve the developer experience within the Flutter ecosystem.
Thank you for your time and consideration.
Sincerely,
Noureddine TAHAR.
Beta Was this translation helpful? Give feedback.
All reactions