Add TextInputType.none#83974
Conversation
TextInputType.none makes it possible to disable the virtual keyboard for certain TextFields, and lays the foundations for custom in-app virtual keyboards (flutter#76072). Ref: flutter#83567
LongCatIsLooong
left a comment
There was a problem hiding this comment.
LGTM. I'll hold off until the engine changes are LGTM'd.
|
I suppose there's not much we can do on Windows at this point. |
|
On macOS, the Accessibility Keyboard is a persistent floating top-level window, and its visibility is controlled by the user. So nothing to do on macOS either? |
There was a problem hiding this comment.
LGTM 👍
Looks like the analyzer is down or something? It's not able to run.
Edit: Windows and Mac seem ok to me also. I would think it's desired that the user can still control an accessibility keyboard even if a Mac app has implemented a custom virtual keyboard using this feature.
|
@jpnurmi Could you try merging/rebasing the branch to the tip of the tree? |
|
If keyboardType is given |
TextInputType.nonemakes it possible to disable the virtual keyboard for individual TextFields, and lays the foundations for custom in-app virtual keyboards (#76072).This is just the framework part that merely introduces the
TextInputType.noneenum value. For the actual functionality, the engine needs to be adapted for all platforms to respectTextInputType.nonewhen passed in the text input configuration.macOSWindowsCloses: #83567
Pre-launch Checklist
///).