AudioWave constructor
const
AudioWave({
- required Room room,
- required Participant<
TrackPublication< participant,Track> > - Key? key,
- Alignment alignment = Alignment.center,
- Color backgroundColor = const Color.from(alpha: 1, red: 1, green: 1, blue: 1),
- Color speakingColor = const Color.from(alpha: .2, red: 0, green: 0, blue: 0),
- Color notSpeakingColor = const Color.from(alpha: 1, red: 0, green: 0, blue: 0),
Implementation
const AudioWave({
required this.room,
required this.participant,
super.key,
this.alignment = Alignment.center,
this.backgroundColor = const Color.from(alpha: 1, red: 1, green: 1, blue: 1),
this.speakingColor = const Color.from(alpha: .2, red: 0, green: 0, blue: 0),
this.notSpeakingColor = const Color.from(alpha: 1, red: 0, green: 0, blue: 0),
});