TimelineNode.simple constructor
TimelineNode.simple({})
Creates a timeline node that connects the dot indicator in a solid line.
Implementation
TimelineNode.simple({
Key? key,
Axis? direction,
Color? color,
double? lineThickness,
double? nodePosition,
double? indicatorPosition,
double? indicatorSize,
Widget? indicatorChild,
double? indent,
double? endIndent,
bool drawStartConnector = true,
bool drawEndConnector = true,
bool? overlap,
}) : this(
key: key,
direction: direction,
startConnector: drawStartConnector
? SolidLineConnector(
direction: direction,
color: color,
thickness: lineThickness,
indent: indent,
endIndent: endIndent,
)
: null,
endConnector: drawEndConnector
? SolidLineConnector(
direction: direction,
color: color,
thickness: lineThickness,
indent: indent,
endIndent: endIndent,
)
: null,
indicator: DotIndicator(
child: indicatorChild,
position: indicatorPosition,
size: indicatorSize,
color: color,
),
indicatorPosition: indicatorPosition,
position: nodePosition,
overlap: overlap,
);