ToastThemeData constructor

ToastThemeData({
  1. Color? textColor,
  2. Color? background,
  3. Alignment? alignment,
})

Implementation

factory ToastThemeData({
  Color? textColor,
  Color? background,
  Alignment? alignment,
}) {
  return ToastThemeData.raw(
      textColor: textColor ?? Colors.black87,
      background: background ?? const Color(0xfceeeeee),
      alignment: alignment ?? Alignment(0, 0.618));
}