My UI gets unresponsive whenever I call the Get.snackbar() method using getx. After the snackbar disappears my Ui becomes responsive again. Is there any way to change this behaviour to make the Ui responsive even when the snackbar is being shown? Below is the code:
SnackbarController snackbar({
required String title,
required String message,
Color? bgColor,
Color? textColor,
}) {
return Get.snackbar(
title,
message,
snackPosition: SnackPosition.TOP,
backgroundColor: bgColor?? Colors.green,
colorText: textColor??Apc.white,
isDismissible: true,
dismissDirection: DismissDirection.horizontal
);
}