Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[Feature Request] Expose interface to use in Dart natively #16506

Open
despondency opened this issue Jul 9, 2020 · 3 comments
Open

[Feature Request] Expose interface to use in Dart natively #16506

despondency opened this issue Jul 9, 2020 · 3 comments

Comments

@despondency
Copy link

despondency commented Jul 9, 2020

Hello, this feature request is inspired by tobrun whose efforts are going towards the flutter mapbox gl plugin, however he made an issue there flutter-mapbox-gl/maps#140 regarding exposing the native functionality interface and using dart:ffi directly jumping straight from Dart to C++ rather than Dart -> Android/IOS -> C++.

Are there any plans for this interface to be exposed, it would be of huge use for many people that want to go to the Dart/Flutter way, which is certainly amazing!

Much thanks!

@zugaldia
Copy link
Member

/cc: @tobrun

@stale stale bot added the archived Archived because of inactivity label Mar 11, 2021
@leecommamichael
Copy link

leecommamichael commented Mar 17, 2021

Dart's C FFI is getting pretty mature, I wonder if there's an opportunity here?
https://dart.dev/guides/libraries/c-interop

I suppose my meaning for posting is really bringing awareness that it's mature enough for them to document how you'd do this sort of thing, so the Dart team is clearly encouraging it.

@stale stale bot removed the archived Archived because of inactivity label Mar 17, 2021
@cedvdb
Copy link

cedvdb commented Mar 16, 2022

What is the status here ? There is also an FFI generator that can be used to create the bridge, so it could do the heavy lifting.

As far as I understand this would allow the flutter wrapper to be thinner, which would bring confidence in using a public wrapper or even our own. For the time being we are moving to google maps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants