ToastShortcuts extension

Context extension for flash toast.

on

Methods

showToast<T>(Widget child, {Duration duration = const Duration(seconds: 3), Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, Clip clipBehavior = Clip.none, AlignmentGeometry? alignment, EdgeInsets? margin, EdgeInsets? padding, Color? iconColor, TextStyle? textStyle, bool queue = true}) Future<T?>
Emit a message for the specified duration.