Proposal for the coming get_it mixin for Widgets as I was asked by users to help binding the UI to the objects in GetIt. Highly inspired by @remi_rousselet 's Hooks and provider in this aspect. For people using Hooks I plan a similar GetItHook. Please tell me what you think
/// all the following functions can be called inside the build function but also
/// in e.g. in `initState` of a `StatefulWidget`.
/// The mixin takes care that everything is correctly disposed.
/// retrieves or creates an instance of a registered type [T] depending on the registration