showErrorMessage static method

dynamic showErrorMessage(
  1. dynamic message
)

Implementation

static showErrorMessage(message) {
  return Fluttertoast.showToast(
      msg: message.toString(),
      toastLength: Toast.LENGTH_LONG,
      gravity: ToastGravity.BOTTOM,
      timeInSecForIosWeb: 4,
      backgroundColor: Colors.red,
      textColor: Colors.white,
      fontSize: 13.0);
}