0

is there an approach to have something like a method channel on Flutter web apps to call to the javascript host?

soft_and_ware
  • 87
  • 1
  • 8

1 Answers1

1

Yes. JS Interop apparently works fine. Some of the pub packages use it to link flutter web with native JS libs. I think the early firebase packages worked that way as well. Details linked from https://dart.dev/web/js-interop.

Randal Schwartz
  • 39,428
  • 4
  • 43
  • 70