titleBar method
Finds YaruTitleBar
by text
.
Implementation
Finder titleBar(dynamic text, {bool skipOffstage = true}) {
return ancestor(
of: _textOrFinder(text, skipOffstage),
matching: byType(YaruTitleBar, skipOffstage: skipOffstage),
);
}