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 superEditorFinder
because the toolbar is displayed
in the application overlay, and is therefore completely independent from the
SuperEditor subtree. There's no obvious way to associate a toolbar with
a specific SuperEditor.
See also: wantsMobileToolbarToBeVisible.
Implementation
static bool isMobileToolbarVisible() {
return find.byKey(DocumentKeys.mobileToolbar).evaluate().isNotEmpty;
}