showDialog

DialogService.to.alert(
  title: t.dialog.delete.title,
  content: controller.log!.content,
  onSuccessed: () async {
    await LogService.to.delete(controller.log);
    Get.back();
  },
);


관련 문서