Closed dinbtechit closed 1 year ago
yep it is, with the get_it_mixin you can push a scope when a widget is first displayed and dispose the scope with its widgets when the widget is destroyed
yep it is, with the get_it_mixin you can push a scope when a widget is first displayed and dispose the scope with its widgets when the widget is destroyed
Thank you @escamoteur !! Is there a code example of this?
it's in the readme.
Perfect thank you!!! 🙏🙏🙏🙏
Is it possible to automatically unregister a singleton when the widget is unmounted from the widget tree?