showSuccess method

void showSuccess([
  1. String msg = 'Success'
])

Shows a success snackbar with a default message and colors.

Implementation

void showSuccess([String msg = 'Success']) => showSnackBar(msg,
    foreground: colors.onPrimary, background: colors.primary);