feat:register page ui done
This commit is contained in:
@@ -6,7 +6,10 @@ showErrorToast(String? message) {
|
||||
context: navigatorKey.currentContext,
|
||||
type: ToastificationType.error,
|
||||
style: ToastificationStyle.fillColored,
|
||||
title: Text(message ?? "", maxLines: 5),
|
||||
title: Text(
|
||||
message ?? navigatorKey.currentContext!.loc.unexpected_error,
|
||||
maxLines: 5,
|
||||
),
|
||||
autoCloseDuration: TimeDelayConst.duration3,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user