hideCurrentSnackBar method

void hideCurrentSnackBar()

Hides the current SnackBar from the build context. This method dismisses the currently displayed SnackBar from the screen without removing it from the queue.

Implementation

void hideCurrentSnackBar() =>
    ScaffoldMessenger.of(this).hideCurrentSnackBar();