showErrorMessage method
Affiche une notification d'erreur
context.showErrorMessage(
title: 'Échec',
message: 'Impossible de se connecter au serveur'
);
Implementation
void showErrorMessage({
String? title,
required String message,
WidgetRef? ref,
}) {
_getNotifier(ref)?.showError(message, title: title);
}