CustomTimeLine constructor

const CustomTimeLine({
  1. Key? key,
  2. List<TimeLineSteps>? data,
  3. IndicatorStyle? indicatorStyle,
  4. TimelineTile timeLineBuilder(
    1. BuildContext context,
    2. int index
    )?,
  5. LineStyle? lineStyle,
  6. bool isLast = false,
  7. bool isFirst = false,
  8. bool hasIndicator = true,
  9. LineStyle? afterLineStyle,
  10. double? lineXY,
  11. double indicatorXY = 0.5,
  12. TimelineAlign alignment = TimelineAlign.center,
  13. required TextStyle? rightNodeTitleStyle,
  14. required TextStyle? rightNodeSubtitleStyle,
  15. required TextStyle? leftNodeTitleStyle,
  16. 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);