• tauu's avatar
    PlatformView: recreate surface if the controller changes (#40280) · 6b4a10ae
    tauu authored
    Currently the surface of a platform view is only created only one when the state of PlatformViewLink is created. When the PlatformViewLink widget changes, the PlatformViewController in the corresponding state is also updated. Just the surface is not updated even though it depends on the controller.
    
    This PR changes this behavior to recreate the surface whenever the controller is updated.
    6b4a10ae
platform_view_test.dart 75.3 KB