import 'dart:async'; /// Broadcasts reminder notification tap intents to the UI layer. class ReminderNotificationIntentBus { final StreamController _controller = StreamController.broadcast(); Stream get intents => _controller.stream; void emitTap(String reminderId) { if (reminderId.trim().isEmpty) { return; } _controller.add(reminderId.trim()); } Future close() => _controller.close(); }