getx snackbar not closing code example Example: getx snackbar not working Change the MaterialApp() widget to GetMaterialApp() widget.