showToast static method

void showToast(
  1. String message
)

Implementation

static void showToast(String message) {
  Fluttertoast.showToast(
      msg: message,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.BOTTOM,
      timeInSecForIosWeb: 3,
      backgroundColor: Colors.yellow,
      textColor: Colors.black,
      fontSize: 16.0);
}