timelines library
Widgets that make it easy to implement the timeline UI component.
Classes
- Connector
- Abstract class for predefined connector widgets.
- ConnectorTheme
- An inherited widget that defines the configuration for SolidLineConnectors, connectors inside TimelineNodes.
- ConnectorThemeData
- Defines the visual properties of SolidLineConnector, connectors inside TimelineNode.
- ContainerIndicator
- A widget that displays an child. The child if null, the indicator is not visible.
- DashedLineConnector
- A thin dashed line, with padding on either side.
- DecoratedLineConnector
- A decorated thin line, with padding on either side.
- DotIndicator
- A widget that displays an dot.
- FixedTimeline
- A widget that displays its children in a one-dimensional array with timeline theme.
- Indicator
- Abstract class for predefined indicator widgets.
- IndicatorTheme
- Controls the default color and size of indicators in a widget subtree.
- IndicatorThemeData
- Defines the visual properties of DotIndicator, indicators inside TimelineNodes.
- OutlinedDotIndicator
- A widget that displays an outlined dot.
- SolidLineConnector
- A thin line, with padding on either side.
- Timeline
- A scrollable timeline of widgets arranged linearly.
- TimelineNode
- A widget that displays indicator and two connectors.
- TimelineTheme
- Applies a theme to descendant timeline widgets.
- TimelineThemeData
- Defines the configuration of the overall visual TimelineTheme for a Timeline or a widget subtree within the app.
- TimelineTile
- A widget that displays timeline node and two contents.
- TimelineTileBuilder
- WARNING: The interface of this class is not yet clear. It may change frequently.
- TimelineTileBuilderDelegate
- The widgets returned from the builder callback are automatically wrapped in AutomaticKeepAlive widgets if addAutomaticKeepAlives is true (the default) and in RepaintBoundary widgets if addRepaintBoundaries is true (also the default).
- TransparentConnector
- A transparent connector for start, end TimelineNode of the Timeline.
Enums
- ConnectionDirection
- An enum that representing the direction the connector is connected through the builder.
- ConnectorStyle
- Types of connectors displayed into timeline
- ConnectorType
- An enum that representing the connector type in TimelineNode.
- ContentsAlign
- How a contents displayed be into timeline.
- IndicatorStyle
- An enum that determines the style of indicator in timeline tile builder.
- TimelineNodeAlign
- Align the timeline node within the timeline tile.
Mixins
- PositionedIndicator
- TimelineNode's indicator.
- ThemedConnectorComponent
- Connector component configured through ConnectorTheme
- ThemedIndicatorComponent
- Indicator component configured through IndicatorTheme
- TimelineTileNode
- TimelineTile's timeline node
Typedefs
- ConnectedConnectorBuilder = Widget? Function(BuildContext context, int index, ConnectorType type)
- Signature for a function that creates a connected connector widget for a given index and type, e.g., in a timeline tile builder.
-
IndexedValueBuilder<
T> = T Function(BuildContext context, int index) - Signature for a function that creates a typed value for a given index, e.g., in a timeline tile builder.