makeToast function
dynamic
makeToast(
- dynamic msg,
- dynamic context,
- dynamic greenLight
Implementation
makeToast(msg, context, greenLight) {
Fluttertoast.showToast(
msg: msg,
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.TOP,
timeInSecForIosWeb: 15,
backgroundColor: greenLight,
textColor: Colors.white,
fontSize: 16.0);
}