adaptNotificationWithCallback method
Adapte une notification avec un callback de fermeture spécifique Cette méthode est utilisée par OverlayNotificationManager
Implementation
Widget adaptNotificationWithCallback(
Widget notification,
VoidCallback closeCallback,
) {
final adapter = _findAdapterFor(notification);
if (adapter != null) {
return adapter.adaptNotification(notification, closeCallback);
}
return notification;
}