Skip to content

Instantly share code, notes, and snippets.

@FlutterWiz
Created June 14, 2022 09:38
Show Gist options
  • Save FlutterWiz/cc6d02971988c5a585a5d49fc5b9d6b3 to your computer and use it in GitHub Desktop.
Save FlutterWiz/cc6d02971988c5a585a5d49fc5b9d6b3 to your computer and use it in GitHub Desktop.
@override
Widget build(BuildContext context, WidgetRef ref) {
final todoList = ref.watch(todoNotifierProvider.select((state) => state.todoList));
final reversedTodoList = List<TodoModel>.from(todoList.reversed);
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment