errorToast function

dynamic errorToast(
  1. String msg
)

Implementation

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