Skip to content

Add additional options in edit menu (such as 'Look Up'/'Search Web' and 'Share' on iOS, and 'Web Search' on Android) #82907

@osaxma

Description

@osaxma

Currently, SelectionControls for EditableText only supports:

  • cut
  • copy
  • paste
  • select all

I couldn't find anyway to add the Look Up and Web Search:

  • iOS

Screen Shot 2021-04-25 at 2 02 36 AM

  • Android
    image

Use case

The functionality is typical in iOS and android app.

Even if I've my own Text Editing & Selection Controls implementations, I couldn't find a way to programmatically show the iOS look up modal (shown below) or the Android Web search for that matter.

look up modal

It's worth noting that 'share' is also typical for both iOS & Android, and 'translate' is typical for android phones. 'Look up' is also used on macOS on the right click menu of a selected text.


update 2021-11-14:
iOS 15.0 has a couple of new options:

  • translate.
  • scan text (typically appears on an empty selection where a user can scan a text).
  • replace (not sure if this is new or it's been there before).

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyplatform-iosiOS applications specificallyteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions