Skip to content

Flutter should respect custom system-wide text selection toolbar buttons #107603

@justinmc

Description

@justinmc

On some platforms, it's possible to write an app that adds a custom button to the system-wide text selection toolbar. For example, here the Android app AnkiDroid has added the "Anki Card" button to my text selection toolbar, and it appears in any app, such as the Google app here.

Flutter should respect these added buttons, so that in any Flutter app, the buttons that the user has added to their device show up in the default text selection toolbar just like in any native app.

Scope

This issue does not include allowing Flutter apps to add system-wide buttons. It's about the reverse problem.

Platforms

Platform Behavior Related Work
Android Apps can add custom system-wide buttons (relevant article). Is there a way for Flutter to read what these buttons are and trigger them? #139361
iOS ?
Mac ?
Linux ?
Windows ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions