S360fTimelineItem class
Data model representing a single timeline entry.
This class encapsulates all the info needed to render a timeline item, including its display text, metadata, and visual state.
Properties
- title: The main display text for the timeline item
- subtitle: Additional descriptive text (currently used for formatting)
- author: The person responsible for or associated with this entry
- dateTime: When this timeline entry occurred or was created
- isCompleted: Visual state indicating whether this item is finished
Example
final item = S360fTimelineItem(
title: 'Project Milestone Reached',
subtitle: 'All deliverables completed',
author: 'Development Team',
dateTime: DateTime(2024, 6, 15, 14, 30),
isCompleted: true,
);
Constructors
Properties
-
The name of the person associated with this timeline entry.
final
- dateTime → DateTime
-
The timestamp when this timeline entry occurred or was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
Whether this timeline item represents a completed action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String
-
Additional descriptive text for the timeline entry.
final
- title → String
-
The primary text displayed for this timeline entry.
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