LiveTimeIndicatorSettings constructor

const LiveTimeIndicatorSettings({
  1. double height = 1.0,
  2. double offset = 5.0,
  3. Color color = Colors.grey,
  4. StringProvider? timeStringBuilder,
  5. bool showBullet = true,
  6. bool showTime = false,
  7. bool showTimeBackgroundView = false,
  8. double bulletRadius = 5.0,
  9. double timeBackgroundViewWidth = 60.0,
})

Settings for live time line

Implementation

const LiveTimeIndicatorSettings({
  this.height = 1.0,
  this.offset = 5.0,
  this.color = Colors.grey,
  this.timeStringBuilder,
  this.showBullet = true,
  this.showTime = false,
  this.showTimeBackgroundView = false,
  this.bulletRadius = 5.0,
  this.timeBackgroundViewWidth = 60.0,
}) : assert(height >= 0, "Height must be greater than or equal to 0.");