airo_notifications 1.1.0 copy "airo_notifications: ^1.1.0" to clipboard
airo_notifications: ^1.1.0 copied to clipboard

Native-first local alert, notification grouping, task follow-up & scheduling execution engine for Flutter.

example/example.dart

// ignore_for_file: avoid_print

import 'package:airo_notifications/airo_notifications.dart';

void main() async {
  final engine = AiroNotifications.engine;
  await engine.initialize(
    onAction: (event) {
      print('Notification action received: ${event.action} for ${event.alertId}');
    },
  );

  final alert = AiroAlert(
    id: 'followup_123',
    type: AiroAlertType.task,
    delivery: AiroDeliveryMode.scheduled,
    priority: AiroPriority.high,
    title: 'Follow up with Rahul',
    body: 'Follow up about the deployment',
    scheduledAt: DateTime.now().add(const Duration(hours: 12)),
    taskId: 'task_456',
    source: 'aromind',
  );

  await engine.schedule(alert);
  print('Scheduled alert: ${alert.title}');

  final scheduledAlerts = await engine.query(includeDelivered: false);
  print('Total scheduled: ${scheduledAlerts.length}');
}
0
likes
140
points
132
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Native-first local alert, notification grouping, task follow-up & scheduling execution engine for Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#notifications #alerts #scheduling #flutter #tasks

License

MIT (license)

Dependencies

equatable, flutter, flutter_local_notifications, shared_preferences, timezone

More

Packages that depend on airo_notifications