showSnackbar function

dynamic showSnackbar(
  1. BuildContext context,
  2. String message
)

Implementation

showSnackbar(BuildContext context, String message) {
  ScaffoldMessenger.of(context).showSnackBar(
    SnackBar(content: Text(message)),
  );
}