Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm learning Riverpod. Here is my
Todos
classRunning
dart run build_runner build
results into generated provider as below:I then use it as below:
The first line of the
filteredTodos
provider (final List<Todo> todos = ref.watch(todosProvider);
) gives the error message below:My search for solution has been unsuccessful. What am I missing or misunderstood?
Beta Was this translation helpful? Give feedback.
All reactions