The method 'inheritFromWidgetOfExactType' isn't defined for the type 'BuildContext'. Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType' code example
Example: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.