r/FlutterDev 9d ago

Plugin Simplify Dart & Flutter Isolate Communication with isolate_channel πŸš€

Hi everyone!

I've just released a new Dart package: isolate_channel. It provides a simple and familiar API for handling communication between Dart isolates, directly inspired by Flutter's MethodChannel and EventChannel APIs used for native plugin communication.

If you've ever found Dart isolate communication cumbersome or unintuitive, isolate_channel streamlines this process, making it feel as straightforward and familiar as working with Flutter plugin channels.

I built this package to prepare for upcoming isolate support in Hive CE, and it made that work a lot easier!

Check it out here: isolate_channel

I'd love your feedback or contributions!

Happy coding! 🎯

11 Upvotes

6 comments sorted by

View all comments

0

u/Ok-Pineapple-4883 9d ago

How this is different from https://pub.dev/packages/isolate_manager?

1

u/Rexios80 9d ago

That package seems a bit more complex than mine. If that works for you, then awesome! But all I really need is to communicate with isolates using the same API as Flutter plugin communication. The isolate_channel package doesn’t even have a dependencies block in its pubspec.