TTimelineIndicator.dot constructor

const TTimelineIndicator.dot({
  1. Key? key,
  2. double size = 24.0,
  3. Color? color,
  4. Color? ringColor,
  5. Color? innerColor,
  6. double ringWidth = 2.0,
  7. double ringGap = 2.0,
  8. TVariant variant = TVariant.tonal,
  9. bool isActive = false,
  10. bool isCompleted = false,
  11. VoidCallback? onTap,
})

Factory for a simple dot indicator inside the colored ring.

Implementation

const TTimelineIndicator.dot({
  super.key,
  this.size = 24.0,
  this.color,
  this.ringColor,
  this.innerColor,
  this.ringWidth = 2.0,
  this.ringGap = 2.0,
  this.variant = TVariant.tonal,
  this.isActive = false,
  this.isCompleted = false,
  this.onTap,
})  : icon = null,
      iconData = null,
      iconSize = null,
      iconColor = null,
      isDot = true,
      child = null;