I am building a spelling app. This is the code that's giving me an error. I don't know what I'm doing wrong.
void main() {
runApp(ChangeNotifierProvider(create: (_) => Controller(), child: MyApp()));
}
The error message is
'ChangeNotifierProvider' isn't a function.