FlutterCustomTimeline constructor

const FlutterCustomTimeline({
  1. Key? key,
  2. required List<StepperData> steppers,
  3. LineStyle? lineStyle,
  4. TimelineTile timeLineBuilder(
    1. BuildContext context,
    2. int index
    )?,
  5. IndicatorStyle? indicatorStyle,
  6. Color? backgroundColor,
  7. bool extendBodyBehindAppBar = true,
  8. double indicatorXY = 0.5,
  9. TimelineAlign alignment = TimelineAlign.center,
  10. double? lineXy,
  11. bool hasIndicator = true,
  12. LineStyle? afterLineStyle,
  13. bool isLast = false,
  14. bool isFirst = false,
  15. double? headerXy,
  16. Color? headerBackgroundColor,
  17. TextStyle? headerTitleStyle,
  18. TextStyle? headerSubTitleStyle,
  19. bool isHeaderNode = true,
  20. TextStyle? rightNodeSubtitleStyle,
  21. TextStyle? rightNodeTitleStyle,
  22. TextStyle? leftNodeTitleStyle,
  23. TextStyle? leftNodeSubtitleStyle,
})

Implementation

const FlutterCustomTimeline({
  super.key,
  required this.steppers,
  this.lineStyle,
  this.timeLineBuilder,
  this.indicatorStyle,
  this.backgroundColor,
  this.extendBodyBehindAppBar = true,
  this.indicatorXY = 0.5,
  this.alignment = TimelineAlign.center,
  this.lineXy,
  this.hasIndicator = true,
  this.afterLineStyle,
  this.isLast = false,
  this.isFirst = false,
  this.headerXy,
  this.headerBackgroundColor,
  this.headerTitleStyle,
  this.headerSubTitleStyle,
  this.isHeaderNode = true,
  this.rightNodeSubtitleStyle,
  this.rightNodeTitleStyle,
  this.leftNodeTitleStyle,
  this.leftNodeSubtitleStyle,
});