copyWith method
StreamLivestreamThemeData
copyWith({
- IconThemeData? playIconTheme,
- IconThemeData? pauseIconTheme,
- double? playPauseIconSize,
- Color? liveButtonColor,
- Color? backstageButtonColor,
- TextStyle? callStateButtonTextStyle,
- TextStyle? participantCountTextStyle,
- TextStyle? durationTextStyle,
- TextStyle? backstageTextStyle,
- TextStyle? backstageCounterTextStyle,
- TextStyle? backstageParticipantsTextStyle,
- TextStyle? liveEndedTextStyle,
- TextStyle? liveEndedRecordingsTextStyle,
- IconThemeData? participantIconTheme,
- IconThemeData? speakerEnabledIconTheme,
- IconThemeData? speakerDisabledIconTheme,
- IconThemeData? expandIconTheme,
- IconThemeData? contractIconTheme,
- EdgeInsets? hostsGridPadding,
- double? hostsGridMainAxisSpacing,
- double? hostsGridCrossAxisSpacing,
Creates a copy of this object with the given fields replaced with the new values.
Implementation
StreamLivestreamThemeData copyWith({
IconThemeData? playIconTheme,
IconThemeData? pauseIconTheme,
double? playPauseIconSize,
Color? liveButtonColor,
Color? backstageButtonColor,
TextStyle? callStateButtonTextStyle,
TextStyle? participantCountTextStyle,
TextStyle? durationTextStyle,
TextStyle? backstageTextStyle,
TextStyle? backstageCounterTextStyle,
TextStyle? backstageParticipantsTextStyle,
TextStyle? liveEndedTextStyle,
TextStyle? liveEndedRecordingsTextStyle,
IconThemeData? participantIconTheme,
IconThemeData? speakerEnabledIconTheme,
IconThemeData? speakerDisabledIconTheme,
IconThemeData? expandIconTheme,
IconThemeData? contractIconTheme,
EdgeInsets? hostsGridPadding,
double? hostsGridMainAxisSpacing,
double? hostsGridCrossAxisSpacing,
}) {
return StreamLivestreamThemeData(
playIconTheme: playIconTheme ?? this.playIconTheme,
pauseIconTheme: pauseIconTheme ?? this.pauseIconTheme,
playPauseIconSize: playPauseIconSize ?? this.playPauseIconSize,
liveButtonColor: liveButtonColor ?? this.liveButtonColor,
backstageButtonColor: backstageButtonColor ?? this.backstageButtonColor,
callStateButtonTextStyle:
callStateButtonTextStyle ?? this.callStateButtonTextStyle,
participantCountTextStyle:
participantCountTextStyle ?? this.participantCountTextStyle,
durationTextStyle: durationTextStyle ?? this.durationTextStyle,
backstageTextStyle: backstageTextStyle ?? this.backstageTextStyle,
backstageCounterTextStyle:
backstageCounterTextStyle ?? this.backstageCounterTextStyle,
backstageParticipantsTextStyle:
backstageParticipantsTextStyle ?? this.backstageParticipantsTextStyle,
liveEndedTextStyle: liveEndedTextStyle ?? this.liveEndedTextStyle,
liveEndedRecordingsTextStyle:
liveEndedRecordingsTextStyle ?? this.liveEndedRecordingsTextStyle,
participantIconTheme: participantIconTheme ?? this.participantIconTheme,
speakerEnabledIconTheme:
speakerEnabledIconTheme ?? this.speakerEnabledIconTheme,
speakerDisabledIconTheme:
speakerDisabledIconTheme ?? this.speakerDisabledIconTheme,
expandIconTheme: expandIconTheme ?? this.expandIconTheme,
contractIconTheme: contractIconTheme ?? this.contractIconTheme,
hostsGridPadding: hostsGridPadding ?? this.hostsGridPadding,
hostsGridMainAxisSpacing:
hostsGridMainAxisSpacing ?? this.hostsGridMainAxisSpacing,
hostsGridCrossAxisSpacing:
hostsGridCrossAxisSpacing ?? this.hostsGridCrossAxisSpacing,
);
}