fcm_shared_isolate 0.2.0 copy "fcm_shared_isolate: ^0.2.0" to clipboard
fcm_shared_isolate: ^0.2.0 copied to clipboard

Firebase Messaging Plugin for Flutter supporting shared isolate

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:fcm_shared_isolate/fcm_shared_isolate.dart';

void main() {
  FcmSharedIsolate();
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Hello World\n'),
        ),
      ),
    );
  }
}
0
likes
130
points
170
downloads

Publisher

verified publisherfamedly.com

Weekly Downloads

Firebase Messaging Plugin for Flutter supporting shared isolate

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

firebase_core, flutter

More

Packages that depend on fcm_shared_isolate