showErrorBar static method

void showErrorBar(
  1. BuildContext ctx, [
  2. String? text
])

Implementation

static void showErrorBar(BuildContext ctx, [String? text]) {
  LYHub.showBar(ctx, text, Colors.red);
}