TimelineTileBuilder class Null safety

WARNING: The interface of this class is not yet clear. It may change frequently.

A delegate that supplies TimelineTile for timeline using a builder callback.

Constructors

TimelineTileBuilder({required int itemCount, ContentsAlign contentsAlign = ContentsAlign.basic, NullableIndexedWidgetBuilder? contentsBuilder, NullableIndexedWidgetBuilder? oppositeContentsBuilder, NullableIndexedWidgetBuilder? indicatorBuilder, NullableIndexedWidgetBuilder? startConnectorBuilder, NullableIndexedWidgetBuilder? endConnectorBuilder, double? itemExtent, IndexedValueBuilder<double>? itemExtentBuilder, IndexedValueBuilder<double>? nodePositionBuilder, IndexedValueBuilder<bool?>? nodeItemOverlapBuilder, IndexedValueBuilder<double>? indicatorPositionBuilder, IndexedValueBuilder<TimelineThemeData>? themeBuilder})
Create a tile builder, which builds tiles using each component builder.
factory
TimelineTileBuilder.connected({required int itemCount, ContentsAlign contentsAlign = ContentsAlign.basic, ConnectionDirection connectionDirection = ConnectionDirection.after, NullableIndexedWidgetBuilder? contentsBuilder, NullableIndexedWidgetBuilder? oppositeContentsBuilder, NullableIndexedWidgetBuilder? indicatorBuilder, ConnectedConnectorBuilder? connectorBuilder, WidgetBuilder? firstConnectorBuilder, WidgetBuilder? lastConnectorBuilder, double? itemExtent, IndexedValueBuilder<double>? itemExtentBuilder, IndexedValueBuilder<double>? nodePositionBuilder, IndexedValueBuilder<double>? indicatorPositionBuilder, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, bool addSemanticIndexes = true})
Create a connected tile builder, which builds tiles using each component builder.
factory
TimelineTileBuilder.connectedFromStyle({@required required int itemCount, ConnectionDirection connectionDirection = ConnectionDirection.after, NullableIndexedWidgetBuilder? contentsBuilder, NullableIndexedWidgetBuilder? oppositeContentsBuilder, ContentsAlign contentsAlign = ContentsAlign.basic, IndexedValueBuilder<IndicatorStyle>? indicatorStyleBuilder, IndexedValueBuilder<ConnectorStyle>? connectorStyleBuilder, ConnectorStyle firstConnectorStyle = ConnectorStyle.solidLine, ConnectorStyle lastConnectorStyle = ConnectorStyle.solidLine, double? itemExtent, IndexedValueBuilder<double>? itemExtentBuilder, IndexedValueBuilder<double>? nodePositionBuilder, IndexedValueBuilder<double>? indicatorPositionBuilder})
Create a connected tile builder, which builds tiles using each style.
factory
TimelineTileBuilder.fromStyle({required int itemCount, NullableIndexedWidgetBuilder? contentsBuilder, NullableIndexedWidgetBuilder? oppositeContentsBuilder, ContentsAlign contentsAlign = ContentsAlign.basic, IndicatorStyle indicatorStyle = IndicatorStyle.dot, ConnectorStyle connectorStyle = ConnectorStyle.solidLine, ConnectorStyle endConnectorStyle = ConnectorStyle.solidLine, double? itemExtent, IndexedValueBuilder<double>? itemExtentBuilder, IndexedValueBuilder<double>? nodePositionBuilder, IndexedValueBuilder<double>? indicatorPositionBuilder, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, bool addSemanticIndexes = true})
Create a tile builder, which builds tiles using each style.
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
itemCount int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build(BuildContext context, int index) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited