GanttTask class

A task or milestone item in a GanttChart.

Constructors

GanttTask({required String name, required DateTime start, required DateTime end, Color? color, double progress = 1.0, String? subtitle})
const

Properties

color → Color?
Bar color for this task.
final
durationDays → int
Duration in days (minimum 1).
no setter
end → DateTime
End date.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Task label or title.
final
progress → double
Completion percentage (0.0 to 1.0).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → DateTime
Start date.
final
subtitle → String?
Optional subtitle.
final

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