info static method
void
info(})
Helper for an INFO toast.
Implementation
static void info(
BuildContext context, {
required String message,
Duration duration = const Duration(seconds: 2),
bool top = false,
int maxLines = 4,
double? iconSize,
TextStyle? textStyle,
Color? backgroundColor,
Color? textColor,
Color? shadowColor,
}) {
show(
context,
message: message,
icon: Icons.info_outline,
backgroundColor: backgroundColor ?? Colors.blue.shade800,
textColor: textColor ?? Colors.white,
duration: duration,
top: top,
maxLines: maxLines,
iconSize: iconSize,
textStyle: textStyle,
shadowColor: shadowColor ?? Colors.blue.shade900,
elevation: 6.0,
);
}