• Amir Hardon's avatar
    Respond to AndroidView focus events. (#33901) · 7d27550f
    Amir Hardon authored
    When an AndroidView gains focus we invoke the(newly introduced)
    'TextInput.setPlatformViewClient' text_input system channel method
    which sets the platform view as the text input target.
    
    When the AndroidView loses focus we send a clearFocus message to
    platform views system channel(so the engine can clear the focus from
    the platform view).
    
    This PR is going to land before the engine implementation is rolled to
    the framework, we swallow MissingPluginException for the newly
    introduced method channel methods so this is a no-op before the engine
    is ready(after the engine is rolled with the corresponding change I'll
    remove the logic to swallow the exceptions).
    
    The engine counterpart is in: flutter/engine#9203
    7d27550f
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...