LegacyPertTask class

A task (node) in the PERT chart.

This serves as the fundamental unit for the Network Diagram. It represents an activity or event. While similar to LegacyGanttTask, this model is optimized for network-style visualizations where relationships and critical paths are emphasized over timeline scheduling.

Constructors

LegacyPertTask({required String id, required String name, List<String> dependencyIds = const [], String? laneId, bool isCritical = false, Duration? duration})
Creates a LegacyPertTask.
const

Properties

dependencyIds List<String>
A list of IDs representing tasks that must complete before this one can start.
final
duration Duration?
The estimated or actual duration of the task.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier for this task.
final
isCritical bool
Whether this task lies on the critical path.
final
laneId String?
An optional ID used to group tasks into horizontal "lanes" or "swimlanes" during layout.
final
name String
The display name of the task.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited