showInfoToast function
void
showInfoToast( - String message
)
Implementation
void showInfoToast(final String message) {
toastification.show(
type: ToastificationType.info,
style: ToastificationStyle.minimal,
title: const Text('معلومات'),
description: Text(message),
alignment: Alignment.bottomCenter,
autoCloseDuration: const Duration(seconds: 4),
backgroundColor: AppRouter.theme.surface,
foregroundColor: AppRouter.theme.onSurface,
borderRadius: BorderRadius.circular(AppConstants.inBorderRadius),
closeButton: const ToastCloseButton(showType: CloseButtonShowType.none),
borderSide: BorderSide(
strokeAlign: BorderSide.strokeAlignCenter,
color: AppRouter.theme.outline.withAlpha(0x80),
),
dragToClose: true,
pauseOnHover: true,
showProgressBar: true,
);
}