ToastExtension extension

on

Methods

showSnackbar({String? title, String? subTitle, TextStyle? titleStyle, TextStyle? subTitleStyle, Widget? titleWidget, Widget? subTitleWidget, Widget? leading, Widget? trailing, Color? backgroundColor, Duration? duration, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? outerPadding, BorderRadius? borderRadius, Curve? animationCurve, AnimateFrom? animateFrom}) → void
showToast(String text, {Duration duration = const Duration(seconds: 3), Duration transitionDuration = const Duration(milliseconds: 250)}) → void