findMobileUpstreamDragHandle static method
Finds the upstream drag handle for a mobile SuperEditor
.
This handle might be the base handle or the extent handle, depending on selection direction.
Implementation
static Finder findMobileUpstreamDragHandle([Finder? superEditorFinder]) {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
case TargetPlatform.iOS:
return find.byKey(DocumentKeys.upstreamHandle);
case TargetPlatform.macOS:
case TargetPlatform.windows:
case TargetPlatform.linux:
case TargetPlatform.fuchsia:
return FindsNothing();
}
}