TimelineItem class

The model class to init the items for the timeline

Constructors

TimelineItem({String? title, Color bubbleColor = Colors.blue, Widget? icon, String? subtitle, String? description, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? descriptionStyle, Widget? titleWidget, Widget? subtitleWidget, Widget? descriptionWidget})
Constructor
const

Properties

bubbleColor Color
The color for the circle of the item
final
description String?
The description of the item's content
final
descriptionStyle TextStyle?
The custom TextStyle of the item's description
final
descriptionWidget Widget?
Provide your custom description widget if you don't want to use the default description widget
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
The custom icon for the item that will be displayed in the circle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
The subtitle of the item's content
final
subtitleStyle TextStyle?
The custom TextStyle of the item's subtitle
final
subtitleWidget Widget?
Provide your custom subtitle widget if you don't want to use the default subtitle widget
final
title String?
The title of the item's content
final
titleStyle TextStyle?
The custom TextStyle for the item's title
final
titleWidget Widget?
Provide your custom title widget if you don't want to use the default title 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