showToast static method

void showToast(
  1. String text
)

Implementation

static void showToast(String text) {
  Fluttertoast.showToast(
    msg: text,
    toastLength: Toast.LENGTH_SHORT,
    gravity: ToastGravity.BOTTOM,
    timeInSecForIosWeb: 1,
    backgroundColor: Colors.black38,
    textColor: Colors.white,
    fontSize: 16.0,
  );
}