A control of the app is enabled or disabled (aria-disabled). The step waits for the state. When the app shows several controls of that kind with that name (a gallery that shows each button enabled and disabled), the step passes when one of them is in that state; to say which one, name the row, group, region or dialog it sits in (the next step).
Examples
Then the app's "Elevated" button should be disabled
Then the app's "Submit" button should be enabled
And the app's "Filled" button should be enabled
Then the app's "Enter a noun" text field should be enabled
Then the app's "Outlined" button should be disabled
Pattern
Then(/^the app's "([^"]*)" (button|link|tab|checkbox|radio button|switch|text field|menu item|slider) should be (enabled|disabled)$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.