Repository navigation
[Android] Add 'Share' button to selection controls #138728
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: fidelityMatching the OEM platforms betterMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Description
Activity
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teama: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-androidAndroid applications specificallyAndroid applications specificallyc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-frameworkOwned by Framework teamOwned by Framework teamand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Nov 20, 2023 - addedP1High-priority issues at the top of the work listHigh-priority issues at the top of the work list
on Nov 20, 2023 Labelling P1, because it is a feature we hope to add for the next stable release and on which I will focus.
- added a commit that references this issue
on Nov 30, 2023 - addeda: fidelityMatching the OEM platforms betterMatching the OEM platforms betterteam-designOwned by Design Languages teamOwned by Design Languages teamp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesand removedteam-frameworkOwned by Framework teamOwned by Framework team
on Dec 1, 2023 - added a commit that references this issue
on Dec 1, 2023 - moved this from PR submitted to Done (PR merged) in Nevercode
on Dec 8, 2023 - added a commit that references this issue
on Dec 8, 2023 - addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Dec 8, 2023 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Dec 22, 2023 - added a commit that references this issue
on Jun 12, 2026
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: fidelityMatching the OEM platforms betterMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Type
Projects
- StatusShow more project fieldsDone (PR merged)
Is there an existing issue for this?
Use case
A native Android app shows the 'Share' option in the selection context menu (before 'Select all') :
For a TextField:

For a TextView:

Proposal
On Android, add the 'Share' option to the Flutter selection menu (both for Selectable region and TextField).
This is part of #107578 which is very broad (all plaforms and all missing menu options).
Creating this issue to make it easier to follow.
Implementation steps
The 'share' feature is already supported on iOS (see #132599 and flutter-team-archive/engine#44554), the steps to support it on Android are:
Share.invokemessage (engine side).Share...label toSharein material_localizations.dart (Android native label does not have the same...that iOS native label has).EditableText(it should be displayed when there is some text selected and it should appears beforeSelect all.SelectionRegion