this is the dart analyses info:
error: The argument type 'String' can't be assigned to the parameter type 'AndroidNotificationSound'. (argument_type_not_assignable at [mediminder] lib/src/ui/new_entry/new_entry.dart:335)
and the file "new_entry.dart" still te same original one from here:
Future _showNotificationWithSound() async {
var androidPlatformChannelSpecifics = new AndroidNotificationDetails(
'your channel id', 'your channel name',
sound: 'sneezenotification',
importance: Importance.max,
priority: Priority.high);
var platformChannelSpecifics = new NotificationDetails(
android: androidPlatformChannelSpecifics);
await flutterLocalNotificationsPlugin.show(
0,
'New Post',
'How to Show Notification in Flutter',
platformChannelSpecifics,
payload: 'Custom_Sound',
);
}
the error is in the line
sound: 'sneezenotification'. Note: I already added sneeze notification.mp3 in android>app>res>raw
Change like this and change "channel_id 3" its work for me