showErrorToast function

dynamic showErrorToast(
  1. String content
)

Implementation

showErrorToast(String content) {
  Fluttertoast.showToast(
      msg: content,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.BOTTOM,
      timeInSecForIosWeb: 10,
      backgroundColor:const Color(0xff414141),
      textColor: Colors.white,
      fontSize: 16.0);
}