TProgress constructor

const TProgress({
  1. Key? key,
  2. required double value,
  3. Color? color,
  4. Color? backgroundColor,
})

Implementation

const TProgress({
  super.key,
  required this.value,
  this.color,
  this.backgroundColor,
})  : type = TProgressType.linear,
      size = 0,
      valueColor = null,
      strokeWidth = 0;