showSuccess method
Shows a success snackbar with a default message and colors.
Implementation
void showSuccess([String msg = 'Success']) => showSnackBar(msg,
foreground: colors.onPrimary, background: colors.primary);
Shows a success snackbar with a default message and colors.
void showSuccess([String msg = 'Success']) => showSnackBar(msg,
foreground: colors.onPrimary, background: colors.primary);