AgoraCallUIKit constructor
const
AgoraCallUIKit({
- Key? key,
- required AgoraCallController controller,
- AgoraCallTheme theme = const AgoraCallTheme(),
- AgoraCallCustomBuilders customBuilders = const AgoraCallCustomBuilders(),
- bool includeHoursInTimer = false,
- bool showHeader = true,
- bool showInviteButton = true,
- bool showMoreButton = true,
- bool showCameraButton = true,
- bool showSwitchCameraButton = true,
- bool showMicButton = true,
- bool showSpeakerButton = true,
- bool showEndCallButton = true,
- OnCallStateChanged? onCallStateChanged,
- OnCallEnded? onCallEnded,
- OnUserJoinedCallback? onUserJoined,
- OnUserOfflineCallback? onUserOffline,
- OnErrorCallback? onError,
- VoidCallback? onHeaderBackTap,
- 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);