Temporary fix for dart: ui
This plugin is a temporary fix for the dart: ui issue.
This solution was not my idea. I just published it in pub.dev to make it easier to implement.
If you want me to credit this solution, please mail me at email@example.com.
Because I don't know who suggested it first. I hope this plugin can help those who are experiencing the same problem.
How To Use
Import the package.
Then, use the ui object as usual. You don't need to create an alias and add ignore:
... ui.platformViewRegistry.registerViewFactory( 'iframeElement', (int viewId) => _iframeElement, ); ...