iDontSeeRichText function
Example: When I don't see {'text'} rich text
Implementation
Future<void> iDontSeeRichText(
WidgetTester tester,
String text,
) async {
final finder = find.byWidgetPredicate(
(widget) => widget is RichText && widget.text.toPlainText() == text,
);
expect(finder, findsNothing);
}