flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

[WEB] Wasm support

Open rokk4 opened this issue 2 months ago • 2 comments

Do not hinder wasm compilation.

    Context: The unavailable library 'dart:html' is imported through these packages:
    
    web_plugin_registrant.dart => package:flutter_secure_storage_web => dart:html

Describe the solution you'd like Move away from dart:html and dart:js

package:web, which replaces dart:html (and other web libraries) dart:js_interop, which replaces package:js and dart:js

https://docs.flutter.dev/platform-integration/web/wasm#js-interop-wasm

rokk4 avatar Jun 03 '24 10:06 rokk4