TimelineThemeData constructor

TimelineThemeData({
  1. double gutterSpacing = 12.0,
  2. double itemGap = 24.0,
  3. double lineGap = 0.0,
  4. double strokeWidth = 4.0,
  5. StrokeCap strokeCap = StrokeCap.butt,
  6. Color lineColor = Colors.lightBlueAccent,
  7. PaintingStyle style = PaintingStyle.stroke,
  8. IndicatorPosition indicatorPosition = IndicatorPosition.center,
})

Implementation

TimelineThemeData({
  this.gutterSpacing = 12.0,
  this.itemGap = 24.0,
  this.lineGap = 0.0,
  this.strokeWidth = 4.0,
  this.strokeCap = StrokeCap.butt,
  this.lineColor = Colors.lightBlueAccent,
  this.style = PaintingStyle.stroke,
  this.indicatorPosition = IndicatorPosition.center,
})  : assert(itemGap >= 0),
      assert(lineGap >= 0);