errorToast function
Implementation
errorToast(String msg) {
showToast(
msg,
duration: LONG_DURATION,
backgroundColor: Colors.red,
textStyle: const TextStyle(color: Colors.white, fontSize: 15),
);
}
errorToast(String msg) {
showToast(
msg,
duration: LONG_DURATION,
backgroundColor: Colors.red,
textStyle: const TextStyle(color: Colors.white, fontSize: 15),
);
}