Hello! i have some problems whit the Sound of Notification
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
var androidPlatformChannelSpecifics = AndroidNotificationDetails(
'repeatDailyAtTime channel id',
'repeatDailyAtTime channel name',
'repeatDailyAtTime description',
importance: Importance.Max,
sound: "sound",
ledColor: Color.fromRGBO(144, 23, 59, 1),
ledOffMs: 1000,
ledOnMs: 1000,
enableLights: true,
);
the error is in the line
sound: "sound".
My pub spec:
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.1.1"
dependencies:
splashscreen: ^1.2.0
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
rxdart: ^0.22.0
provider: ^3.0.0+1
shared_preferences: 0.5.2
flutter_local_notifications:
firebase_core: ^0.4.4+2
cloud_firestore: ^0.13.4+1
firebase_storage: ^3.1.3
firebase_auth: ^0.15.5+2
firebase_analytics: ^5.0.11
image_picker: ^0.6.3+4
flare_flutter:
git:
url: git://github.com/2d-inc/Flare-Flutter.git
ref: dev
path: flare_flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.7.2"
flutter_icons:
android: "launcher_icon"
ios: false
image_path: "assets/logo/logo_app2.png"
how can i fix this? thanks in advance
Love u :)