removeTask method
移除指定位置的任务
Implementation
void removeTask(int index) {
if (index < 0 || index >= _taskList.length) return;
_taskList.removeAt(index);
_updateTaskSort();
}
移除指定位置的任务
void removeTask(int index) {
if (index < 0 || index >= _taskList.length) return;
_taskList.removeAt(index);
_updateTaskSort();
}