info static method

void info(
  1. BuildContext context, {
  2. required String message,
  3. Duration duration = const Duration(seconds: 2),
  4. bool top = false,
  5. Color? backgroundColor,
  6. Color? textColor,
  7. IconData? icon,
})

Convenience wrappers

Implementation

static void info(
  BuildContext context, {
  required String message,
  Duration duration = const Duration(seconds: 2),
  bool top = false,
  Color? backgroundColor,
  Color? textColor,
  IconData? icon,
}) => toast(
  context,
  message: message,
  kind: ToastKind.info,
  duration: duration,
  top: top,
  backgroundColor: backgroundColor,
  textColor: textColor,
  icon: icon,
);