Fluttertoast set time code example
Example: toast in flutter
Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Sending Message"),
));
Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Sending Message"),
));