Closed louwers closed 2 weeks ago
Hi @louwers
Thanks for reporting the error. You're right, stopButton
should take a String?. It used to take a boolean but I thought it was more relevant to take a String?. This is what the documentation says:
/// The text to display on the stop button of the notification.
///
/// Won't work on iOS if app was killed.
/// If null, button will not be shown. Null by default.
final String? stopButton;
I'll fix the README, thanks.
stopButton
ofNotificationSettings
seems to take a String? not a boolean (like in the README).