You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error:
'NoteDetail' isn't defined for the class 'NoteListState'.
'NoteListState' is from 'package:notes/screens/note_list.dart' ('lib/screens/note_list.dart').
Try correcting the name to the name of an existing method, or defining a method named 'NoteDetail'.
The function where this error originates is this one:
void navigateToDetail(String title) {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return NoteDetail(title);
}));
}
}
The text was updated successfully, but these errors were encountered:
I am getting this error:
'NoteDetail' isn't defined for the class 'NoteListState'.
Try correcting the name to the name of an existing method, or defining a method named 'NoteDetail'.
The function where this error originates is this one:
void navigateToDetail(String title) {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return NoteDetail(title);
}));
}
}
The text was updated successfully, but these errors were encountered: