flutter-maplibre-gl icon indicating copy to clipboard operation
flutter-maplibre-gl copied to clipboard

[FEATURE] Migrate from manual method_channel to Pigeon

Open T-moz opened this issue 1 year ago • 2 comments

Feature Description

Currently, communication between dart and the native side is done by using method channel int the MapLibreMethodChannel class. This works, but it's hard to maintain, it's not type safe, and the usage of jsonEncode in the main isolate causes performances issues.

Describe alternatives you've considered

Replacing the method channel with Pigeon.

Additional context

No response

T-moz avatar Jun 14 '24 12:06 T-moz

Are you willing to contribute a PR?

kuhnroyal avatar Jun 17 '24 23:06 kuhnroyal

Great suggestion @T-moz! I'd love to see a deacrese in code that is not type safe and Pigeon seems like a great choice.

josxha avatar Jun 23 '24 21:06 josxha