0

How add toast in bottom center in flutter?

I added toast on screen it shows on bottom left corner on the screen I want to add it in the bottom center. I also try with ToastGravity.CENTER but it's not working

7th Jul 2022, 12:55 PM
Gayatri Dunakhe
Gayatri Dunakhe - avatar
1 Respuesta
+ 3
ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text("Sending Message"), ));
8th Jul 2022, 6:06 AM
Jibran Abdul Jabbar
Jibran Abdul Jabbar - avatar