I use InputChips in my app.
InputChip(
key: Key(label.id),
label: Text(label.name),
onDeleted: () => deleteChip(),
),
I want now to create unit tests to test the delete function. Unfortunatly I found no way to press the delete icon of the chip in the unit test. With await tester.tap(find.byKey(Key('1'))); it's possible to find the chip. How can I now define that I want to click the delete icon on the chip?