showBar static method
Implementation
static void showBar(BuildContext ctx, [String? text, Color? bg]) {
ScaffoldMessenger.of(
ctx,
).showSnackBar(SnackBar(content: Text(text ?? ''), backgroundColor: bg));
}
static void showBar(BuildContext ctx, [String? text, Color? bg]) {
ScaffoldMessenger.of(
ctx,
).showSnackBar(SnackBar(content: Text(text ?? ''), backgroundColor: bg));
}