showTextAndAction static method
Implementation
static bool showTextAndAction(
String text, String action, void Function() onPressed) {
return show(
widget: Text(text),
action: SnackBarAction(
label: action,
onPressed: onPressed,
),
);
}