flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

location_web: migrate from `package:js` to `package:js_interop`

Open bartekpacia opened this issue 1 year ago • 3 comments

location_web depends on the js package:

https://github.com/Lyokone/flutterlocation/blob/cbb79e79fc0d67eee05f54d3a1a3e7a03b17cd05/packages/location_web/pubspec.yaml#L18

README of the js package says:

Prefer using dart:js_interop instead of this package for JS interop. See the JS interop documentation for more details.

bartekpacia avatar Mar 30 '24 20:03 bartekpacia

But location_web does not import js package, why it is included in dependency? Instead it uses dart:html that should be migrated to package:web

MominRaza avatar Apr 02 '24 08:04 MominRaza

@bartekpacia any updates on this

MominRaza avatar Jun 28 '24 17:06 MominRaza

If there was an update, it'd be posted here. You can contribute this yourself.

Or, if you need this urgently, you can pay me.

I plan to get to this in the future, but right now, I don't have time.

bartekpacia avatar Jun 28 '24 17:06 bartekpacia