AgoraCallUIKit constructor

const AgoraCallUIKit({
  1. Key? key,
  2. required AgoraCallController controller,
  3. AgoraCallTheme theme = const AgoraCallTheme(),
  4. AgoraCallCustomBuilders customBuilders = const AgoraCallCustomBuilders(),
  5. bool includeHoursInTimer = false,
  6. bool showHeader = true,
  7. bool showInviteButton = true,
  8. bool showMoreButton = true,
  9. bool showCameraButton = true,
  10. bool showSwitchCameraButton = true,
  11. bool showMicButton = true,
  12. bool showSpeakerButton = true,
  13. bool showEndCallButton = true,
  14. OnCallStateChanged? onCallStateChanged,
  15. OnCallEnded? onCallEnded,
  16. OnUserJoinedCallback? onUserJoined,
  17. OnUserOfflineCallback? onUserOffline,
  18. OnErrorCallback? onError,
  19. VoidCallback? onHeaderBackTap,
  20. VoidCallback? onHeaderMoreTap,
})

Implementation

const AgoraCallUIKit({
  Key? key,
  required this.controller,
  this.theme = const AgoraCallTheme(),
  this.customBuilders = const AgoraCallCustomBuilders(),
  this.includeHoursInTimer = false,
  this.showHeader = true,
  this.showInviteButton = true,
  this.showMoreButton = true,
  this.showCameraButton = true,
  this.showSwitchCameraButton = true,
  this.showMicButton = true,
  this.showSpeakerButton = true,
  this.showEndCallButton = true,
  this.onCallStateChanged,
  this.onCallEnded,
  this.onUserJoined,
  this.onUserOffline,
  this.onError,
  this.onHeaderBackTap,
  this.onHeaderMoreTap,
}) : super(key: key);