Based on the code you provided, it seems like you are correctly finding the table and its children using the find.byKey method and the Table widget. However, in your assertion, you are searching for a TableRow widget using find.byType(TableRow) and a ValueKey using find.byKey(const ValueKey('row-0')).
It's possible that the TableRow widgets are not directly children of the Table widget, but are instead nested inside other widgets such as Container, Expanded, or TableCell. In this case, you may need to modify your test code to search for these nested widgets to find the TableRow.
For example, you could try searching for Container widgets that contain the TableRow widgets, like this:
expect(find.byType(Container).evaluate().where((widget) {
return widget.child is TableRow;
}), findsWidgets);
This code will find all Container widgets that contain a TableRow widget, which should include the TableRow widgets that you are looking for.