#Riverpod example style ioc_container sample:
Live here: https://dartpad.dev/?id=39e67d2ab0209e1d52e97e06bc4259e0
It adds the compile time safety like Riverpod providers, scopes the state, and doesn't use any state management outside the standard #Flutter lib

Independent Flutter App Developer in Melbourne