TcccCallUIOptions constructor

const TcccCallUIOptions({
  1. Widget avatarBuilder(
    1. BuildContext,
    2. Session
    )?,
  2. bool showDialPad = true,
  3. bool showSpeakerToggle = true,
  4. bool autoPopOnEnded = true,
  5. Duration endedLingerDuration = const Duration(milliseconds: 1500),
  6. bool confirmHangupWhenConnected = false,
  7. Locale? locale,
  8. ThemeMode themeMode = ThemeMode.system,
  9. Widget pageBuilder(
    1. BuildContext,
    2. Session
    )?,
})

Implementation

const TcccCallUIOptions({
  this.avatarBuilder,
  this.showDialPad = true,
  this.showSpeakerToggle = true,
  this.autoPopOnEnded = true,
  this.endedLingerDuration = const Duration(milliseconds: 1500),
  this.confirmHangupWhenConnected = false,
  this.locale,
  this.themeMode = ThemeMode.system,
  this.pageBuilder,
});