findMobileDownstreamDragHandle static method

Finder findMobileDownstreamDragHandle([
  1. Finder? superEditorFinder
])

Finds the downstream drag handle for a mobile SuperEditor.

This handle might be the base handle or the extent handle, depending on selection direction.

Implementation

static Finder findMobileDownstreamDragHandle([Finder? superEditorFinder]) {
  switch (defaultTargetPlatform) {
    case TargetPlatform.android:
    case TargetPlatform.iOS:
      return find.byKey(DocumentKeys.downstreamHandle);
    case TargetPlatform.macOS:
    case TargetPlatform.windows:
    case TargetPlatform.linux:
    case TargetPlatform.fuchsia:
      return FindsNothing();
  }
}