NiceGantt constructor
const
NiceGantt({ - Key? key,
- required List<NiceGanttTask> tasks,
- List<NiceGanttColumn>? columns,
- NiceGanttScale scale = NiceGanttScale.day,
- double rowHeight = 36,
- double dayWidth = 30,
- void onTaskClick(
- NiceGanttTask task
)?,
- void onTaskUpdate(
- NiceGanttTask task
)?,
- bool showDependencies = false,
- double height = 400,
})
Implementation
const NiceGantt({
super.key,
required this.tasks,
this.columns,
this.scale = NiceGanttScale.day,
this.rowHeight = 36,
this.dayWidth = 30,
this.onTaskClick,
this.onTaskUpdate,
this.showDependencies = false,
this.height = 400,
});