Showsnackbar depreciou
ScaffoldMessenger.of(context).showSnackBar( SnackBar( content: Text("Incremented"), duration: Duration(milliseconds: 300), ), );
Helpful Hornet
ScaffoldMessenger.of(context).showSnackBar( SnackBar( content: Text("Incremented"), duration: Duration(milliseconds: 300), ), );
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text("Login failed")));