deleteBusyStatus method

void deleteBusyStatus(
  1. StatusData item,
  2. BuildContext context
)

Implementation

void deleteBusyStatus(StatusData item, BuildContext context) {
  if (!item.isCurrentStatus!) {
    Helper.showButtonAlert(actions: [
      ListTile(
        contentPadding: const EdgeInsets.only(left: 10),
        title: Text(AppConstants.delete,
            style:
                const TextStyle(fontSize: 14, fontWeight: FontWeight.normal)),
        onTap: () {
          // Get.back();
          Navigator.pop(context);
          busyDeleteConfirmation(item, context);
        },
      ),
    ], context: context);
  }
}