app/utils/show_tost library
Functions
-
showErrorSnack(
{String title = 'Error', required String message, Duration duration = const Duration(seconds: 3)}) → void - Shows a floating error snackbar at the bottom.
-
showSuccessSnack(
{String title = 'Success', required String message, Duration duration = const Duration(seconds: 2)}) → void - Shows a floating success snackbar at the bottom.