showError static method

dynamic showError(
  1. String? msg
)

Implementation

static showError(String? msg) {
  showToast(msg ?? "",
      position: ToastPosition.center,
      textStyle: TextStyle(color: Colors.redAccent));
}