CustomTimeLine constructor
const
CustomTimeLine({
- Key? key,
- List<
TimeLineSteps> ? data, - IndicatorStyle? indicatorStyle,
- TimelineTile timeLineBuilder(
- BuildContext context,
- int index
- LineStyle? lineStyle,
- bool isLast = false,
- bool isFirst = false,
- bool hasIndicator = true,
- LineStyle? afterLineStyle,
- double? lineXY,
- double indicatorXY = 0.5,
- TimelineAlign alignment = TimelineAlign.center,
- required TextStyle? rightNodeTitleStyle,
- required TextStyle? rightNodeSubtitleStyle,
- required TextStyle? leftNodeTitleStyle,
- required TextStyle? leftNodeSubtitleStyle,
Implementation
const CustomTimeLine({
Key? key,
this.data,
this.indicatorStyle,
this.timeLineBuilder,
this.lineStyle,
this.isLast = false,
this.isFirst = false,
this.hasIndicator = true,
this.afterLineStyle,
this.lineXY,
this.indicatorXY = 0.5,
this.alignment = TimelineAlign.center,
required this.rightNodeTitleStyle,
required this.rightNodeSubtitleStyle,
required this.leftNodeTitleStyle,
required this.leftNodeSubtitleStyle,
}) : super(key: key);