Drop-in local notifications, daily streak nudges, and job/exam deadline alerts for Flutter:
- Friendly EN / বাংলা Permission Pre-Dialog — explains why reminders help before firing the Android 13+ OS popup.
- Quiet Hours Protection — automatically shifts late-night reminders (
23:00–07:00) to07:00so users never get disturbed while sleeping. - Multi-Offset Deadline Alerts — ideal for job/exam apps (
karmopath): schedules 3-day & 1-day alerts before a deadline and skips past dates automatically. - Ready-Made
ReminderSettingsTile— Material 3 Switch + Time Picker persisted inSharedPreferences. - 100% Testable — ships with
FakeNotificationBackendso widget tests never need Android/iOS platform channels.
dependencies:
smart_notify_kit:
git:
url: https://github.com/Keshab1997/smart_notify_kit.git
ref: mainfinal notify = SmartNotifyController();
await notify.init();
// 1) Drop into SettingsScreen:
ReminderSettingsTile(
controller: notify,
reminderTitle: 'আজকের খরচ লিখেছেন কি?',
reminderBody: 'মাত্র ১০ সেকেন্ডে আজকের হিসাব আপডেট করুন।',
strings: isBangla ? const NotifyStrings.bn() : const NotifyStrings.en(),
);
// 2) Schedule job/exam deadline alerts (3 days & 1 day before):
await notify.scheduleDeadlineReminders(
DeadlineReminderSpec(
baseId: 5000,
title: 'WBPSC Clerkship',
deadlineDate: DateTime(2026, 12, 20),
),
strings: const NotifyStrings.bn(),
);