WaveProgress constructor

WaveProgress({
  1. double borderSize = 10,
  2. required double size,
  3. required Color borderColor,
  4. required Color foregroundWaveColor,
  5. Color? backgroundWaveColor,
  6. required double progress,
  7. double innerPadding = 0,
})

Implementation

WaveProgress({
  this.borderSize = 10,
  required this.size,
  required this.borderColor,
  required this.foregroundWaveColor,
  this.backgroundWaveColor,
  required this.progress,
  this.innerPadding = 0,
}) {
  if (backgroundWaveColor == null) {
    backgroundWaveColor = foregroundWaveColor.withOpacity(0.5);
  }
}