checkButton method

Finder checkButton(
  1. dynamic text, {
  2. bool skipOffstage = true,
})

Finds YaruCheckButton by text.

Implementation

Finder checkButton(dynamic text, {bool skipOffstage = true}) {
  return ancestor(
    of: _textOrFinder(text, skipOffstage),
    matching: byType(YaruCheckButton, skipOffstage: skipOffstage),
  );
}