You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`allowInterop` is intended for use with `package:js` style callback
arguments to `@JS()` annotated APIs, it is unnecessary when using APIs
from `dart:html`.
This had been put in to work around dart-lang/sdk#35484
which has since been solved.
I'm guessing we are just missing a call to convert a Dart function into a JS function in the dart:html code generation.
As expected, IntersectionObserver works under DDC where functions can be passed between Dart and JS without conversion.
Example where I had to add allow interop:
flutter/devtools@13c304c
The text was updated successfully, but these errors were encountered: