widgets/toast/toast library

Classes

SFToast

Functions

showToast(BuildContext context, {double? top, double? left, double? right, SFToastStatus status = SFToastStatus.simple, String? title, TextStyle? titleTextStyle, required String content, EdgeInsets? contentPadding, TextStyle? contentTextStyle, Color? contentColor, Color toastColor = Colors.white, Color borderColor = SFColor.grayScale10, String? buttonText, TextStyle? buttonTextStyle, EdgeInsets? buttonPadding, Border? buttonBorder, Color? buttonColor, BorderRadius? toastRadius, Duration? toastDuration, Duration? animationDuration}) → void