functions/toast.function
library
Functions
-
errorToast({required BuildContext context, String? title, required String message, Icon? icon, Duration duration = const Duration(seconds: 8), dynamic onTap(Function)?, bool? error, bool hideCloseButton = false, Color? backgroundColor, Color? foregroundColor, double runSpacing = 12})
→ ScaffoldFeatureController<Widget, dynamic>
-
-
toast({required BuildContext context, String? title, required String message, Icon? icon, Duration duration = const Duration(seconds: 8), dynamic onTap(Function)?, bool? error, bool hideCloseButton = false, Color? backgroundColor, Color? foregroundColor, double runSpacing = 12})
→ ScaffoldFeatureController<Widget, dynamic>
-
Display a snackbar