showInfo static method
void
showInfo(
- String message, {
- SnackBarAction? action,
- Duration duration = const Duration(seconds: 5),
- EdgeInsetsGeometry? margin,
- SnackBarBehavior? behavior,
- ShapeBorder? shape,
- DismissDirection dismissDirection = DismissDirection.down,
- Color? backgroundColor,
- TextStyle? textStyle,
Implementation
static void showInfo(
String message, {
SnackBarAction? action,
Duration duration = const Duration(seconds: 5),
EdgeInsetsGeometry? margin,
SnackBarBehavior? behavior,
ShapeBorder? shape,
DismissDirection dismissDirection = DismissDirection.down,
Color? backgroundColor,
TextStyle? textStyle,
}) {
_showSnackBar(
message,
action: action,
duration: duration,
margin: margin,
behavior: behavior,
shape: shape,
dismissDirection: dismissDirection,
backgroundColor: backgroundColor ?? _snackBarTheme?.backgroundColor,
textStyle: textStyle ?? _snackBarTheme?.contentTextStyle,
);
}