show static method
Implementation
static show(ABC abc, String msg, {required bool success}) {
final snackBar = success
? SnackBar(content: Text(msg), backgroundColor: Colors.blue)
: SnackBar(content: Text(msg), backgroundColor: Colors.red);
getSnackbar(abc).currentState?.removeCurrentSnackBar();
getSnackbar(abc).currentState?.showSnackBar(snackBar);
}