How to wait for dynamic key in appium flutter driver?

Hi Team,

I am using appium flutter driver with wdio to automate my testcases.
I wanted to ask small question:

I have a key id: partner_list_count_234
I can check this ID of screen by using:
await driver.execute('flutter:waitFor', find.byValueKey('partner_list_count_234'));

but the number at the end i.e. 234 is dynamic depending on the list count, so how can search if there is any key present with key id partner_list_count_ ??
What is. the best approach to do the same?

Thanks :slight_smile: