TimelineModel class
Constructors
- TimelineModel(Widget? child, {Icon? icon, Color iconBackground = Colors.grey, TimelineItemPosition position = TimelineItemPosition.random, bool isFirst = false, bool isLast = false, Function? onTap})
Properties
- child → Widget?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Icon?
-
final
- iconBackground → Color
-
final
- isFirst ↔ bool
-
getter/setter pair
- isLast ↔ bool
-
getter/setter pair
- onTap → Function?
-
final
- position → TimelineItemPosition
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{dynamic icon, dynamic iconBackground, dynamic child, dynamic position, dynamic isFirst, dynamic isLast}) → TimelineModel -
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 o) → bool -
The equality operator.
override