flutter-maplibre-gl
flutter-maplibre-gl copied to clipboard
[FEATURE] Migrate from manual method_channel to Pigeon
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
Are you willing to contribute a PR?
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.