TimeLineStatus constructor

const TimeLineStatus({
  1. required List<String> statuses,
  2. required int currentPosition,
  3. Color currentStepBackground = sunflowerYellow,
  4. Color currentStepNumberTextColor = black,
  5. Color activatedStepBackground = sunflowerYellow,
  6. Color activatedStepNumberTextColor = white,
  7. Color inActivatedStepBackground = redAccent,
  8. Color inActivatedStepNumberTextColor = sunflowerYellow,
  9. double height = 70,
  10. EdgeInsets wholePadding = const EdgeInsets.only(top: 15, left: 10, right: 10),
  11. Color backgroundColor = white,
  12. double textSize = 18,
  13. double pointCircleRadius = 25,
})

Implementation

const TimeLineStatus({
  required this.statuses,
  required this.currentPosition,
  this.currentStepBackground = sunflowerYellow,
  this.currentStepNumberTextColor = black,
  this.activatedStepBackground = sunflowerYellow,
  this.activatedStepNumberTextColor = white,
  this.inActivatedStepBackground = redAccent,
  this.inActivatedStepNumberTextColor = sunflowerYellow,
  this.height = 70,
  this.wholePadding = const EdgeInsets.only(
    top: 15,
    left: 10,
    right: 10,
  ),
  this.backgroundColor = white,
  this.textSize = 18,
  this.pointCircleRadius = 25,
});