findMobileMagnifier static method
Finds the magnifier for a mobile SuperEditor
.
Implementation
static Finder findMobileMagnifier([Finder? superEditorFinder]) {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
case TargetPlatform.iOS:
return find.byKey(DocumentKeys.magnifier);
case TargetPlatform.macOS:
case TargetPlatform.windows:
case TargetPlatform.linux:
case TargetPlatform.fuchsia:
return FindsNothing();
}
}