feat:增加闪灵功能

This commit is contained in:
2025-11-09 23:52:36 +08:00
parent 7c3d35eb18
commit 98248bf1ad
13 changed files with 760 additions and 65 deletions

View File

@@ -28,11 +28,6 @@ class TodoService {
}
}
Future<bool> updateTodoCompletion(Todo todo, bool isCompleted) async {
todo.isCompleted = isCompleted;
return await updateTodo(todo);
}
Future<bool> deleteTodo(Todo todo) async {
try {
await todo.delete();