errorSnack method
dynamic
errorSnack(
- dynamic msg, {
- dynamic title = "Error",
Implementation
errorSnack(msg, {title = "Error"}) {
return Get.snackbar(
title,
msg,
backgroundColor: Colors.redAccent.withOpacity(0.4),
);
}