[READ-ONLY] Mirror of https://github.com/probablykasper/notifier. Android app for scheduling notifications
android app flutter notifications
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix default date

Kasper (Jun 3, 2022, 3:55 AM +0200) add2ae3e 506e5b65

+16 -9
+2 -2
README.md
··· 45 45 1. Update `CHANGELOG.md` 46 46 2. Bump the version number in `pubspec.yaml` 47 47 3. Run `flutter analyze && flutter test` 48 - 4. Run `flutter build apk` 49 - 5. Rename the output file to `notifier-x.y.z.apk` 48 + 4. Run `flutter build apk --split-per-abi` 49 + 5. Rename the output files to `notifier-v<VERSION>-<ABI>.apk` 50 50 6. Create a git tag in the format `v#.#.#` 51 51 7. Create a GitHub release with the release notes and `.apk`
+14 -7
lib/notification_item.dart
··· 41 41 required this.lastScheduledDate, 42 42 }); 43 43 NotificationItem.defaultWith({ 44 - this.title = '', 45 - this.description = '', 46 - this.disabled = false, 47 - this.repeat = Repeat.never, 48 - this.repeatEvery = 1, 49 - this.weekdays = const [false, false, false, false, false, false, false], 44 + String? title, 45 + String? description, 46 + bool? disabled, 47 + String? repeat, 48 + int? repeatEvery, 49 + List<bool>? weekdays, 50 50 DateTime? originalDate, 51 51 this.lastScheduledDate, 52 - }) : originalDate = originalDate ?? DateTime.now(); 52 + }) : title = title ?? '', 53 + description = description ?? '', 54 + disabled = disabled ?? false, 55 + repeat = repeat ?? Repeat.never, 56 + repeatEvery = repeatEvery ?? 1, 57 + weekdays = 58 + weekdays ?? [false, false, false, false, false, false, false], 59 + originalDate = originalDate ?? defaultDate(); 53 60 54 61 factory NotificationItem.getDefault() { 55 62 return NotificationItem.defaultWith();