show static method

dynamic show(
  1. String? msg
)

Implementation

static show(String? msg) {
  if (null == msg) return;
  if (msg.isEmpty) return;
  Fluttertoast.showToast(
      msg: msg,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.BOTTOM,
      timeInSecForIosWeb: 1,
      backgroundColor: Colors.black,
      textColor: Colors.white,
      fontSize: 14.0
  );
}