Error: No named parameter with the name 'shadowThemeOnly'. 2021-03-26 Error: No named parameter with the name ‘shadowThemeOnly’. it to work by adding /…/ around shadowThemeOnly: true ThemeData inheritTheme = Theme.of(context/, shadowThemeOnly: true/); Error: The method 'inheritFromWidgetOfExactType' isn‘t defined for the class 'BuildContext'. Error: No named parameter with the name 'resizeToAvoidBottomPadding'.