showErrorSnackBar method
Implementation
void showErrorSnackBar(String text, {SnackBarAction? action}) {
ScaffoldMessenger.of(this).showSnackBar(CommonSnackBar.error(context: this, text: text, action: action));
}
void showErrorSnackBar(String text, {SnackBarAction? action}) {
ScaffoldMessenger.of(this).showSnackBar(CommonSnackBar.error(context: this, text: text, action: action));
}