flutter getx snackbar
GetMaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Snackbar')),
body: Center(
child: ElevatedButton(
onPressed: () {
Get.snackbar('snackbar title','snackbar message');
},
child: Text('Button')),
)
)
);