toast function
Implementation
Future<bool?> toast(
String value, {
Color? backgroundColor,
Color? textColor,
double? fontSize = 16,
}) {
return Fluttertoast.showToast(
msg: value,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
timeInSecForIosWeb: 1,
backgroundColor: backgroundColor,
textColor: textColor,
fontSize: fontSize);
}