• Chris Yang's avatar
    PlatformViewLink handles focus (#38643) · 7f5540fa
    Chris Yang authored
    In the build of PlatformViewLink, Added a FocusNode wrapping around the surface widget.
    The focus node will ask platform view to clear its focus when necessary through [PlatformViewController.clearFocus].
    The platform view can notify the framework it wants to gain focus by calling [PlatformViewCreationParams.onFocusChanged]
    7f5540fa
platform_view_test.dart 72.7 KB