TimelineThemeData.fallback constructor

const TimelineThemeData.fallback()

Creates an timeline them with some reasonable default values.

The color is black, the opacity is 1.0, and the size is 24.0.

Implementation

const TimelineThemeData.fallback()
    : lineColor = Colors.lightBlueAccent,
      lineGap = 0.0,
      strokeCap = StrokeCap.butt,
      strokeWidth = 4.0,
      style = PaintingStyle.stroke,
      itemGap = 24.0,
      gutterSpacing = 12.0,
      indicatorPosition = IndicatorPosition.center;