toastError method

dynamic toastError({
  1. Color color = Colors.white,
})

Implementation

toastError({Color color = Colors.white}) => Fluttertoast.showToast(
    msg: this,
    textColor: color,
    toastLength: Toast.LENGTH_LONG,
    backgroundColor: Colors.red);