VoiceWaveWidget constructor
const
VoiceWaveWidget({
- Key? key,
- required String userId,
- double size = 50,
- Color color = Colors.greenAccent,
- int waveCount = 3,
- double sensitivity = 3,
- int noiseFloor = 1,
- double maxScale = 1.1,
- VoiceWaveMode mode = VoiceWaveMode.circle,
- int barCount = 5,
- double barGap = 3,
- double barRadius = 2,
- double barWidth = 0,
- double barMaxHeight = 0,
- VoiceBarAlignment barAlignment = VoiceBarAlignment.left,
- double barMinHeightRatio = 0.08,
Implementation
const VoiceWaveWidget({
super.key,
required this.userId,
this.size = 50,
this.color = Colors.greenAccent,
this.waveCount = 3,
this.sensitivity = 3,
this.noiseFloor = 1,
this.maxScale = 1.1,
this.mode = VoiceWaveMode.circle,
this.barCount = 5,
this.barGap = 3,
this.barRadius = 2,
this.barWidth = 0,
this.barMaxHeight = 0,
this.barAlignment = VoiceBarAlignment.left,
this.barMinHeightRatio = 0.08,
});