TimelineItem class
Data model for a single event in TimelineWidget.
Constructors
- TimelineItem({required String title, String? description, String? timestamp, IconData? icon, Color? dotColor, Widget? content})
-
Creates a TimelineItem.
const
Properties
- content → Widget?
-
Optional custom widget to display below the description.
final
- description → String?
-
Optional description text.
final
- dotColor → Color?
-
Optional custom color for the dot.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Optional icon to display inside the dot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → String?
-
Optional timestamp string.
final
- title → String
-
The title of the event.
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