TaskSegmentedControl constructor

const TaskSegmentedControl({
  1. Key? key,
  2. required YOLOTask currentTask,
  3. required ValueChanged<YOLOTask> onTaskChanged,
  4. bool showSemanticTask = true,
})

Implementation

const TaskSegmentedControl({
  super.key,
  required this.currentTask,
  required this.onTaskChanged,
  this.showSemanticTask = true,
});