The app shows a control, a heading or an image of a kind, by its name (or does not show it): in its accessibility tree, with a box on the page. The step waits for it.
Examples
Then the app should show the "Increment" button
Then the app should show the "Flutter Demo Home Page" heading
Then the app should not show the "Back" button
Then the app should show the "Enter a noun" text field
And the app should show the "Components" tab
Pattern
Then(/^the app should( not)? show the "([^"]*)" (button|link|heading|tab|checkbox|radio button|switch|text field|image|menu item|slider)$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.