Q: Flutter Getx | Unhandled Exception: NoSuchMethodError: The getter 'page' was called on null I had a perfectly working flutter project. I tried to implement GetX in it. I changed MaterialApp() to GetMaterialApp() and added few GetXViews and Controllers. Everything works fine and builds properly but, as soon as I added getPages:[] property to GetMaterialApp() it shows the following error.

[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception:
NoSuchMethodError: The getter 'page' was called on null.

I have also tried adding GetPages to the list like this 
getPages: [GetPage(name:"/branch",page: ()=>BranchViewPage())],
I was using flutter_bloc for the state management and had also implemented MultiBlocProviders in main.dart. The Routes were implemented with RouteGenerators.
