Dart fix + Flutter upgrade

This commit is contained in:
Imran Remtulla
2025-06-13 17:07:09 -04:00
parent e0c69b9cf4
commit 7d9a641e24
18 changed files with 53 additions and 52 deletions

View File

@@ -218,7 +218,7 @@ class NotificationsProvider {
false;
}
checkLaunchByNotif() async {
Future<void> checkLaunchByNotif() async {
final NotificationAppLaunchDetails? launchDetails = await notifications
.getNotificationAppLaunchDetails();
if (launchDetails?.didNotificationLaunchApp ?? false) {
@@ -229,7 +229,7 @@ class NotificationsProvider {
}
}
_showNotificationPayload(String? payload, {bool doublePop = false}) {
void _showNotificationPayload(String? payload, {bool doublePop = false}) {
if (payload?.isNotEmpty == true) {
var title = (payload ?? '\n\n').split('\n').first;
var content = (payload ?? '\n\n').split('\n').sublist(1).join('\n');