PrismTimelineEntry class

One event on a PrismTimeline.

Annotations

Constructors

PrismTimelineEntry({required String title, String? subtitle, String? timestamp, IconData? icon, PrismSemantic semantic = PrismSemantic.info, Widget? child, Widget? trailing, Color? accentColor, bool isActive = false})
Creates a timeline entry.
const

Properties

accentColor → Color?
Overrides the marker color entirely.
final
child → Widget?
Arbitrary content rendered under the header (cards, code, images).
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
Icon drawn in the marker. Defaults to the semantic role's icon.
final
isActive → bool
Emphasizes this entry — a filled marker and heavier title.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semantic → PrismSemantic
Semantic role driving marker colors and the default icon.
final
subtitle → String?
Optional secondary line.
final
timestamp → String?
Optional timestamp or relative time label.
final
title → String
Primary line of text.
final
trailing → Widget?
Widget rendered at the trailing edge of the header row.
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