@@ -104,52 +104,51 @@ class _StreamOutgoingCallContentState extends State<StreamOutgoingCallContent> {
104104 widget.callState.otherParticipants.map ((e) => e.toUserInfo ()).toList ();
105105
106106 final child = Material (
107- color: Colors .transparent,
108- child: Column (
109- mainAxisAlignment: MainAxisAlignment .center,
110- children: [
111- const Spacer (),
112- widget.participantsAvatarBuilder? .call (
113- context,
114- widget.call,
115- widget.callState,
116- participants,
117- ) ??
118- ParticipantAvatars (
107+ color: Colors .transparent,
108+ child: Column (
109+ mainAxisAlignment: MainAxisAlignment .center,
110+ children: [
111+ const Spacer (),
112+ widget.participantsAvatarBuilder? .call (
113+ context,
114+ widget.call,
115+ widget.callState,
116+ participants,
117+ ) ??
118+ ParticipantAvatars (
119+ participants: participants,
120+ singleParticipantAvatarTheme: singleParticipantAvatarTheme,
121+ multipleParticipantAvatarTheme: multipleParticipantAvatarTheme,
122+ ),
123+ widget.participantsDisplayNameBuilder? .call (
124+ context,
125+ widget.call,
126+ widget.callState,
127+ participants,
128+ ) ??
129+ Padding (
130+ padding:
131+ const EdgeInsets .symmetric (horizontal: 64 , vertical: 32 ),
132+ child: CallingParticipants (
119133 participants: participants,
120- singleParticipantAvatarTheme: singleParticipantAvatarTheme,
121- multipleParticipantAvatarTheme:
122- multipleParticipantAvatarTheme,
134+ singleParticipantTextStyle: singleParticipantTextStyle,
135+ multipleParticipantTextStyle: multipleParticipantTextStyle,
123136 ),
124- widget.participantsDisplayNameBuilder? .call (
125- context,
126- widget.call,
127- widget.callState,
128- participants,
129- ) ??
130- Padding (
131- padding:
132- const EdgeInsets .symmetric (horizontal: 64 , vertical: 32 ),
133- child: CallingParticipants (
134- participants: participants,
135- singleParticipantTextStyle: singleParticipantTextStyle,
136- multipleParticipantTextStyle: multipleParticipantTextStyle,
137- ),
138- ),
139- Text (
140- 'Calling…' ,
141- style: callingLabelTextStyle,
142- ),
143- const Spacer (),
144- OutgoingCallControls (
145- isMicrophoneEnabled: connectOptions.microphone.isEnabled,
146- isCameraEnabled: connectOptions.camera.isEnabled,
147- onCancelCallTap: () => _onCancelCallTap (context),
148- onMicrophoneTap: () => _onMicrophoneTap (context),
149- onCameraTap: () => _onCameraTap (context),
150- ),
151- ],
152- ),
137+ ),
138+ Text (
139+ 'Calling…' ,
140+ style: callingLabelTextStyle,
141+ ),
142+ const Spacer (),
143+ OutgoingCallControls (
144+ isMicrophoneEnabled: connectOptions.microphone.isEnabled,
145+ isCameraEnabled: connectOptions.camera.isEnabled,
146+ onCancelCallTap: () => _onCancelCallTap (context),
147+ onMicrophoneTap: () => _onMicrophoneTap (context),
148+ onCameraTap: () => _onCameraTap (context),
149+ ),
150+ ],
151+ ),
153152 );
154153
155154 return widget.callBackgroundBuilder? .call (
@@ -161,7 +160,7 @@ class _StreamOutgoingCallContentState extends State<StreamOutgoingCallContent> {
161160 CallBackground (
162161 participants: participants,
163162 child: child,
164- );
163+ );
165164 }
166165
167166 Future <void > _onCancelCallTap (BuildContext context) async {
0 commit comments