snackBarWithAction method
Implementation
void snackBarWithAction(BuildContext context){
ScaffoldMessenger.of(_scaffoldCtx).showSnackBar(SnackBar(
content: Text("Snackbar With Action"),
duration: Duration(seconds: 2),
action: SnackBarAction(
label: "UNDO",
onPressed: (){},
),
));
}