showInfo static method

void showInfo(
  1. String message, {
  2. SnackBarAction? action,
  3. Duration duration = const Duration(seconds: 5),
  4. EdgeInsetsGeometry? margin,
  5. SnackBarBehavior? behavior,
  6. ShapeBorder? shape,
  7. DismissDirection dismissDirection = DismissDirection.down,
  8. Color? backgroundColor,
  9. 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,
  );
}