@@ -22,7 +22,6 @@ class StreamOutgoingCallContent extends StatefulWidget {
2222 super .key,
2323 required this .call,
2424 required this .callState,
25- this .backgroundWidget,
2625 this .onCancelCallTap,
2726 this .onMicrophoneTap,
2827 this .onCameraTap,
@@ -31,6 +30,7 @@ class StreamOutgoingCallContent extends StatefulWidget {
3130 this .singleParticipantTextStyle,
3231 this .multipleParticipantTextStyle,
3332 this .callingLabelTextStyle,
33+ this .callBackgroundBuilder,
3434 this .participantsAvatarBuilder,
3535 this .participantsDisplayNameBuilder,
3636 });
@@ -71,10 +71,10 @@ class StreamOutgoingCallContent extends StatefulWidget {
7171 /// Builder used to create a custom widget for participants display names.
7272 final ParticipantsDisplayNameBuilder ? participantsDisplayNameBuilder;
7373
74- /// A widget that is placed behind the outgoing call UI instead of the default
74+ /// A widget that is placed behind the outgoing call UI instead of the Stream default
7575 ///
76- /// background. Preferably use a [Stack] widget, like in the default [CallBackground] .
77- final OutgoingCallBackground ? backgroundWidget ;
76+ /// Preferably use a [Stack] widget to layer your UI like in the default [CallBackground] .
77+ final OutgoingCallBackground ? callBackgroundBuilder ;
7878
7979 @override
8080 State <StreamOutgoingCallContent > createState () =>
@@ -152,7 +152,7 @@ class _StreamOutgoingCallContentState extends State<StreamOutgoingCallContent> {
152152 ),
153153 );
154154
155- return widget.backgroundWidget ? .call (
155+ return widget.callBackgroundBuilder ? .call (
156156 widget.call,
157157 widget.callState,
158158 participants,
0 commit comments