flutter inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'. 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'.