show static method
Shows a snack bar using the context's scaffold messenger.
Parameters:
context: The build contextmessage: The message to displaysuccess: Whether this is a success (true) or failure (false) message
Implementation
static void show(BuildContext context, String message, bool success) {
showWithMessenger(context.scaffoldMessenger, message, success);
}