errorToast function
dynamic
errorToast(
- dynamic message
Implementation
errorToast(message) {
Fluttertoast.showToast(
msg: message,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.CENTER,
timeInSecForIosWeb: 1,
backgroundColor: OrangeColor,
textColor: buttonText,
fontSize: 16.0);
}