TaskCardControls constructor
const
TaskCardControls({
- Key? key,
- VoidCallback? onEditTask,
- VoidCallback? onDeleteTask,
- 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,
});