AudioWave constructor

const AudioWave({
  1. required Room room,
  2. required Participant<TrackPublication<Track>> participant,
  3. Key? key,
  4. Alignment alignment = Alignment.center,
  5. Color backgroundColor = const Color.from(alpha: 1, red: 1, green: 1, blue: 1),
  6. Color speakingColor = const Color.from(alpha: .2, red: 0, green: 0, blue: 0),
  7. 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),
});