error static method
Implementation
static error(BuildContext context, msg) {
Flushbar(
title: "Error",
message:
"$msg",
duration: Duration(seconds: 1),
backgroundColor: Colors.red,
)..show(context);
}
static error(BuildContext context, msg) {
Flushbar(
title: "Error",
message:
"$msg",
duration: Duration(seconds: 1),
backgroundColor: Colors.red,
)..show(context);
}