showSnackBar method

Shows a SnackBar at the bottom of the screen.

Example usage:

context.showSnackBar(SnackBar(content: Text('Hello')));

Implementation

ScaffoldFeatureController<SnackBar, SnackBarClosedReason> showSnackBar(
  SnackBar snackBar,
) =>
    messenger.showSnackBar(snackBar);