I am following a flutter tutorial and it's an old one so I already had to make changes as per the changes in dart and some libraries but I am getting this error and the guy in tutorial gets no such error there. PS: its the only place where "StoriesProvider is getting defined"
class StoriesProvider extends InheritedWidget { //Missing concrete implementation of InheritedWidget.updateShouldNotify here
final StoriesBloc bloc;
StoriesProvider({Key key, Widget child})
: bloc = StoriesBloc(),
super(key: key, child: child);
bool updateSouldNotify(_) => true;
static StoriesBloc of(BuildContext context) {
return (context.dependOnInheritedWidgetOfExactType<StoriesProvider>(
))
.bloc;
}
}