TimelineTheme constructor

const TimelineTheme({
  1. BoxConstraints? timeConstraints,
  2. double? spacing,
  3. double? dotSize,
  4. double? connectorThickness,
  5. Color? color,
  6. double? rowGap,
})

Creates a TimelineTheme with the specified styling options.

All parameters are optional and will be merged with widget-level settings or system defaults when not specified.

Parameters:

  • timeConstraints (BoxConstraints?, optional): Width constraints for time column.
  • spacing (double?, optional): Horizontal spacing between columns.
  • dotSize (double?, optional): Size of timeline indicator dots.
  • connectorThickness (double?, optional): Thickness of connecting lines.
  • color (Color?, optional): Default color for indicators and connectors.
  • rowGap (double?, optional): Vertical spacing between timeline entries.

Implementation

const TimelineTheme({
  this.timeConstraints,
  this.spacing,
  this.dotSize,
  this.connectorThickness,
  this.color,
  this.rowGap,
});