tasty_toast library

Classes

ToastWidget
The widget itself, which is a StatefulWidget due to animations.

Functions

showToast(BuildContext context, String message, {Duration duration = const Duration(seconds: 2), Alignment alignment = Alignment.bottomCenter, TextStyle? textStyle, BoxDecoration? background, EdgeInsets? padding, Offset? offsetAnimationStart}) → void
Displays the toast.