TaskCardControls constructor

const TaskCardControls({
  1. Key? key,
  2. VoidCallback? onEditTask,
  3. VoidCallback? onDeleteTask,
  4. required TaskCardTheme theme,
})

Creates a TaskCardControls widget.

The onEditTask callback is triggered when the edit button is pressed. The onDeleteTask callback is triggered when the delete button is pressed. The theme parameter controls the visual styling of the controls.

Implementation

const TaskCardControls({
  super.key,
  this.onEditTask,
  this.onDeleteTask,
  required this.theme,
});