Open shechren opened 3 months ago
Yeahhhh...not sure how this will play out but looking at flutter_keyboard_visibility_web: ^2.0.0 there has not been any updates in years and the likely hood of quill to undergo some big migration just so we can build with wasm.
dart:html
is superceeded by package:web
. See https://dart.dev/interop/js-interop/package-web, https://docs.flutter.dev/platform-integration/web/wasm and this talk (https://www.youtube.com/watch?v=qx42r29HhcM) for more information.
A migration can also be done partially.
application
You can't dodge it. Quill has the keyboard package as dependency, hence until the keyboard package gets updated and quill updates the dependency as well you are kinda stuck.
True, we are dependent on the keyboard package but quill itself could be updated in the meantime:)
True, we are dependent on the keyboard package but quill itself could be updated in the meantime:)
Yep, as long as flutter_quill
itself does not use html
(which it currently does), you could easily add a dependency_override
for flutter_keyboard_visibility_web
(as it has a PR ready for wasm support already)
True, we are dependent on the keyboard package but quill itself could be updated in the meantime:)
Yep, as long as
flutter_quill
itself does not usehtml
(which it currently does), you could easily add adependency_override
forflutter_keyboard_visibility_web
(as it has a PR ready for wasm support already)
Exactly
@singerdmx is there a reason this was closed? I could not find any PR for this and flutter_quill still depends on the html package
I already migrated a few open-source packages to package:web
. If help is needed I can help.
@singerdmx is there a reason this was closed? I could not find any PR for this and flutter_quill still depends on the html package
I believe he was referring to this pull request: https://github.com/MisterJimson/flutter_keyboard_visibility/pull/155. raldhafiri
has already worked on getting flutter_keyboard_visibility to compile for ASM and is waiting for this PR to be merged into the MisterJimson
repository. As a workaround, while MisterJimson hasn't updated his package yet, you can add the following to your pubspec.yaml to use raldhafiri's version:
dependency_overrides:
flutter_keyboard_visibility_web:
git:
url: https://github.com/raldhafiri/flutter_keyboard_visibility.git
ref: master
path: flutter_keyboard_visibility_web
Is there an existing issue for this?
The question
https://docs.flutter.dev/platform-integration/web/wasm
I found a problem when i was built to Web in WASM. So i check the
flutter pub deps
and found the reason. that flutter_keyboard_visibility_web wasn't updated (dart:html to web) and I think it's uncertainly to will be done. However please tell me how can I dodge this problem within use the flutter_quill till flutter_keyboard_Visibility_web's update.log is as follows: