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