TimelinePosition enum

Defines the horizontal position of the timeline within its container.

This enum provides three positioning options:

  • start: Places the timeline at the start (left) of the container
  • center: Centers the timeline horizontally in the container
  • end: Places the timeline at the end (right) of the container
Inheritance
Available extensions

Values

start → const TimelinePosition

Places the timeline at the start (left) of the container.

center → const TimelinePosition

Centers the timeline horizontally in the container.

end → const TimelinePosition

Places the timeline at the end (right) of the container.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asCrossAxisAlignment() CrossAxisAlignment
Converts the position to a Flutter CrossAxisAlignment value.
asMainAxisAlignment() MainAxisAlignment
Converts the position to a Flutter MainAxisAlignment value.
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

Constants

values → const List<TimelinePosition>
A constant List of the values in this enum, in order of their declaration.