ColumnWidget constructor
const
ColumnWidget({
- Key? key,
- required KanbanColumn column,
- required KanbanColumnTheme theme,
- dynamic onAddTask()?,
- dynamic onReorderedTask(
- KanbanColumn column,
- int oldIndex,
- int newIndex
- dynamic onTaskDropped(
- KanbanColumn source,
- int sourceIndex,
- KanbanColumn destination, [
- int? destinationIndex,
- dynamic onDeleteTask(
- KanbanColumn column,
- int index
- dynamic onEditTask(
- KanbanColumn column,
- int index,
- String initialTitle,
- String initialSubtitle,
- dynamic onClearDone()?,
- double? mobileMaxHeight = KanbanColumnLayout.defaultMobileMaxHeight,
Creates a ColumnWidget with the given parameters.
The column and theme parameters are required, while all callbacks
are optional.
Implementation
const ColumnWidget({
super.key,
required this.column,
required this.theme,
this.onAddTask,
this.onReorderedTask,
this.onTaskDropped,
this.onDeleteTask,
this.onEditTask,
this.onClearDone,
this.mobileMaxHeight = KanbanColumnLayout.defaultMobileMaxHeight,
}) : super();