isMobileToolbarVisible static method
Returns true
if the mobile floating toolbar is currently visible, or false
if it's not.
The mobile floating toolbar looks different for iOS and Android, but on both platforms it appears on top of the editor, near selected content.
This method doesn't take a superReaderFinder
because the toolbar is displayed
in the application overlay, and is therefore completely independent from the
SuperReader subtree. There's no obvious way to associate a toolbar with
a specific SuperReader.
See also: wantsMobileToolbarToBeVisible.
Implementation
static bool isMobileToolbarVisible() {
return find.byKey(DocumentKeys.mobileToolbar).evaluate().isNotEmpty;
}