showMessageError method
dynamic
showMessageError(
- String message, {
- String title = "Message",
- Widget? titleWidget,
- Widget? messageWidget,
- MessageStyle style = MessageStyle.flatColored,
- bool autoClose = true,
- int autoCloseDurationSeconds = 5,
- Alignment alignment = Alignment.bottomRight,
- TextDirection textDirection = TextDirection.ltr,
- bool showAnimation = false,
- int animationDurationMillis = 300,
- Widget? customIcon,
Implementation
showMessageError(
String message, {
String title = "Message",
Widget? titleWidget,
Widget? messageWidget,
MessageStyle style = MessageStyle.flatColored,
bool autoClose = true,
int autoCloseDurationSeconds = 5,
Alignment alignment = Alignment.bottomRight,
TextDirection textDirection = TextDirection.ltr,
bool showAnimation = false,
int animationDurationMillis = 300,
Widget? customIcon,
}) {
showMessage(
message,
title: title,
titleWidget: titleWidget,
messageWidget: messageWidget,
type: MessageType.error,
style: style,
autoClose: autoClose,
autoCloseDurationSeconds: autoCloseDurationSeconds,
alignment: alignment,
textDirection: textDirection,
showAnimation: autoClose,
animationDurationMillis: animationDurationMillis,
customIcon: customIcon,
);
}