show method
Implementation
void show([Widget? content]) {
if (context == null) {
throw Exception("Context is null");
}
if (this.snackBar == null) {
throw Exception("snackBar is null");
}
SnackBar? snackBar = this.snackBar;
if (content != null) {
snackBar = _buildFrom(
snackBar,
content: content,
);
}
ScaffoldMessenger.of(context!)
..hideCurrentSnackBar()
..showSnackBar(snackBar!);
}