NiceGantt constructor

const NiceGantt({
  1. Key? key,
  2. required List<NiceGanttTask> tasks,
  3. List<NiceGanttColumn>? columns,
  4. NiceGanttScale scale = NiceGanttScale.day,
  5. double rowHeight = 36,
  6. double dayWidth = 30,
  7. void onTaskClick(
    1. NiceGanttTask task
    )?,
  8. void onTaskUpdate(
    1. NiceGanttTask task
    )?,
  9. bool showDependencies = false,
  10. 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,
});