cross_isolate_messenger 0.0.1
cross_isolate_messenger: ^0.0.1 copied to clipboard
A lightweight utility for message passing between Dart isolates with persistent storage using SharedPreferences. Designed for native Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cross_isolate_messengerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cross_isolate_messenger: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cross_isolate_messenger/cross_isolate_messenger.dart';