TimelineTile class

A tile that renders a timeline format.

Inheritance
Available extensions

Constructors

TimelineTile({Key? key, TimelineAxis axis = TimelineAxis.vertical, TimelineAlign alignment = TimelineAlign.start, Widget? startChild, Widget? endChild, double? lineXY, bool hasIndicator = true, bool isFirst = false, bool isLast = false, IndicatorStyle indicatorStyle = const IndicatorStyle(width: 25), LineStyle beforeLineStyle = const LineStyle(), LineStyle? afterLineStyle})
const

Properties

afterLineStyle → LineStyle
The style used to customize the line rendered after the indicator. If null, it defaults to beforeLineStyle.
final
alignment → TimelineAlign
The alignment used on the line. See TimelineAlign. It defaults to TimelineAlign.start
final
axis → TimelineAxis
The axis used on the tile. See TimelineAxis. It defaults to TimelineAxis.vertical
final
beforeLineStyle → LineStyle
The style used to customize the line rendered before the indicator.
final
endChild → Widget?
The child widget positioned at the end
final
hashCode → int
The hash code for this object.
no setterinherited
hasIndicator → bool
Whether it should have an indicator (default or custom). It defaults to true.
final
indicatorStyle → IndicatorStyle
The style used to customize the indicator.
final
isFirst → bool
Whether this is the first tile from the timeline. In this case, it won't be rendered a line before the indicator.
final
isLast → bool
Whether this is the last tile from the timeline. In this case, it won't be rendered a line after the indicator.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineXY → double?
The X (in case of TimelineAxis.vertical) or Y (in case of TimelineAxis.horizontal) axis value used to position the line when TimelineAlign.manual. Must be a value from 0.0 to 1.0
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startChild → Widget?
The child widget positioned at the start
final

Methods

animate({Key? key, List<Effect>? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) → Animate

Available on Widget, provided by the AnimateWidgetExtensions extension

Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex. myWidget.animate() is equivalent to Animate(child: myWidget).
build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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