notification_fetcher 0.1.9 copy "notification_fetcher: ^0.1.9" to clipboard
notification_fetcher: ^0.1.9 copied to clipboard

A Flutter package to fetch and show notifications with a background service.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:notification_fetcher/notification_fetcher.dart';

void main() {
  runApp(const MyApp());
  startBackgroundService(apiUrl: "https://yourapiurl");
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Notification Fetcher Example',
      home: Scaffold(
        appBar: AppBar(title: const Text('Notification Fetcher')),
        body: const Center(child: Text('Running background notification fetcher...')),
      ),
    );
  }
}
0
likes
140
points
73
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to fetch and show notifications with a background service.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_background_service, flutter_local_notifications, http, shared_preferences

More

Packages that depend on notification_fetcher