flutter fluttertoast shows previous message code example
Example 1: toast in flutter
Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Sending Message"),
));
Example 2: flutter toast
dependencies:
fluttertoast: ^7.1.6
Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Sending Message"),
));
dependencies:
fluttertoast: ^7.1.6