Repository navigation
[Scribe] Support stylus handwriting input on Android #115607
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: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Activity
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Recently, support for Apple Pencil support was added to Flutter via the "Scribble" feature. We should also support stylus handwriting input on Android as well, using a common set of framework APIs.
How?
Android's InputMethodManager class already has support for stylus handwriting. We'll need to tie these into the framework similarly to how it's done for iOS.
Some relevant methods:
Will Flutter's Scribble API need to change?
Ideally not, but it's unclear to me whether or not we'll have to. We want to make everything available in the framework that we can and not produce a "leasts common denominator" API.
References
Scribble framework PR: #75472
Scribble engine PR: flutter-team-archive/engine#24224
Other features:
Hover icon: #155948
Gestures: #156018
Stylus input on other platforms (not necessarily handwriting):
Linux: #63209
Windows: #102836