iSeeIcon function

Future<void> iSeeIcon(
  1. WidgetTester tester,
  2. IconData icon
)

Example: Then I see {Icons.add} icon

Implementation

Future<void> iSeeIcon(
  WidgetTester tester,
  IconData icon,
) async {
  expect(find.byIcon(icon), findsOneWidget);
}