embed/embed_webview_stub library
Functions
-
getEmbedWebViewAuto(
String srcDoc, [double? width, double? height]) → Widget - conditional import Only in this way, we can use android/ios and flutter web library in the same project. inspired by https://github.com/Zeruel92/cross_picker https://medium.com/flutter-community/conditional-imports-across-flutter-and-web-4b88885a886e