-
Notifications
You must be signed in to change notification settings - Fork 10
Description
macOS platformview is not fully supported in flutter as this issue
There are a few critical issues that I have run into in developing this package.
-
Duplicate view id on hot-restart always results in an error
[macOS] UiKitView throws a "PlatformException(recreating_view, trying to create an already created view, view id: '0', null)" after hot-restart flutter/flutter#110381 -
hot-reload and view-related state changes do not work from within the flutter UI
UiKitView doesn't rebuild with changing state flutter/flutter#48632
( This issue is worked around in this package by making changes from the platform channel at the same time as making changes to the platform view in flutter. But the usability is terrible ) -
Platform view crashes when app width is changed
As you can see, it is difficult to use, but not at the level of usability, and I feel that the development itself is very strict.
I love flutter, but I'm going to wait to develop it until I can find a way to address the above issues.
However, I'm sure there are many requests for inline webviews on macos like I did with this package, so I'd like to discuss with everyone how we can work around the above issues or how we can take a different approach to deal with them!