Flutter: Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized
This problem is introduced when you upgrade Flutter. The reason behind this is you are waiting for some data or running an async function inside main(). I was initialising ScopedModel inside main() and inside that I was awaiting for some data. There is a very small fix. Just run WidgetsFlutterBinding.ensureInitialized() inside void main() , before … Read more