send data controller to provider import 'package:flutter/material.dart'; import 'model.dart'; class TaskProvider extends ChangeNotifier { List<Task> _tasks = []; List<Task> get tasks => _tasks; // Create operation void addTask(Task task) { _tasks.add(task); notifyListeners(); } // Read operation (already accessible via getter tasks) // Update operation void updateTask(Task task) { // Find the task in the list and update it int index = _tasks.indexWhere((t) => t.id == task.id); if (index != -1) { _tasks[index] = task; notifyListeners(); } } // Delete operation void deleteTask(String id) { _tasks.removeWhere((task) => task.id == id); notifyListeners(); } } class Task { String id; String title; bool completed...