showToast function

dynamic showToast(
  1. String content
)

Implementation

showToast(String content) {
  Fluttertoast.showToast(
      msg: content,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.BOTTOM,
      timeInSecForIosWeb: 4,
      backgroundColor: const Color(0xff01539D),
      textColor: Colors.white,
      fontSize: 16.0);
}