TimelineItem class

A single timeline entry.

Constructors

TimelineItem({required String title, required String time, String? description, IconData? icon, Color? color, Widget? trailing})
const

Properties

color → Color?
Dot color.
final
description → String?
Event description.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
Dot icon (defaults to a filled dot).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
time → String
Event time/label.
final
title → String
Event title.
final
trailing → Widget?
Optional trailing widget.
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