fcm_shared_isolate 0.1.0 copy "fcm_shared_isolate: ^0.1.0" to clipboard
fcm_shared_isolate: ^0.1.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
pub points
80%
popularity

Publisher

verified publisherfamedly.com

Firebase Messaging Plugin for Flutter supporting shared isolate

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

firebase_core, flutter

More

Packages that depend on fcm_shared_isolate