copyWith method
StreamVideoTheme
copyWith({
- StreamTextTheme? textTheme,
- StreamColorTheme? colorTheme,
- StreamCallControlsThemeData? callControlsTheme,
- StreamUserAvatarThemeData? userAvatarTheme,
- StreamLobbyViewThemeData? lobbyViewTheme,
- StreamCallParticipantThemeData? callParticipantTheme,
- StreamLocalVideoThemeData? localVideoTheme,
- StreamIncomingOutgoingCallThemeData? incomingCallTheme,
- StreamCallContentThemeData? callContentTheme,
- StreamIncomingOutgoingCallThemeData? outgoingCallTheme,
- StreamLivestreamThemeData? livestreamTheme,
override
Creates a copy of StreamVideoTheme with specified attributes overridden.
Implementation
@override
StreamVideoTheme copyWith({
StreamTextTheme? textTheme,
StreamColorTheme? colorTheme,
StreamCallControlsThemeData? callControlsTheme,
StreamUserAvatarThemeData? userAvatarTheme,
StreamLobbyViewThemeData? lobbyViewTheme,
StreamCallParticipantThemeData? callParticipantTheme,
StreamLocalVideoThemeData? localVideoTheme,
StreamIncomingOutgoingCallThemeData? incomingCallTheme,
StreamCallContentThemeData? callContentTheme,
StreamIncomingOutgoingCallThemeData? outgoingCallTheme,
StreamLivestreamThemeData? livestreamTheme,
}) =>
StreamVideoTheme.raw(
textTheme: this.textTheme.merge(textTheme),
colorTheme: this.colorTheme.merge(colorTheme),
callControlsTheme: this.callControlsTheme.merge(callControlsTheme),
userAvatarTheme: this.userAvatarTheme.merge(userAvatarTheme),
lobbyViewTheme: this.lobbyViewTheme.merge(lobbyViewTheme),
callParticipantTheme:
this.callParticipantTheme.merge(callParticipantTheme),
localVideoTheme: this.localVideoTheme.merge(localVideoTheme),
incomingCallTheme: this.incomingCallTheme.merge(incomingCallTheme),
callContentTheme: this.callContentTheme.merge(callContentTheme),
outgoingCallTheme: this.outgoingCallTheme.merge(outgoingCallTheme),
livestreamTheme: this.livestreamTheme.merge(livestreamTheme),
);