FFMuxBroadcast constructor
FFMuxBroadcast({
- FFDimensions? dimensions,
- FFBorderRadius? borderRadius,
- FFMuxBroadcast_FFMuxBroadcastResolution? broadcastResolution,
- FFMuxBroadcast_FFMuxBroadcastAudioChannel? audioChannel,
- FFText? liveText,
- FFColor? legacyLiveTextBackgroundColor,
- FFText? durationTextStyle,
- FFColor? legacyDurationTextBackgroundColor,
- FFButton? startButtonOptions,
- FFIcon? legacyStopButtonIcon,
- FFColor? legacyStopButtonBackgroundColor,
- FFIcon? legacyRotateButtonIcon,
- FFColor? legacyRotateButtonBackgroundColor,
- bool? isStreamingView,
- FFIcon? legacyLiveIcon,
- FFBorderRadius? liveContainerBorderRadius,
- FFBorderRadius? durationContainerBorderRadius,
- FFMuxBroadcast_FFMuxBroadcastLatencyMode? latencyMode,
- FFColorValue? liveTextBackgroundColorValue,
- FFColorValue? durationTextBackgroundColorValue,
- FFColorValue? stopButtonBackgroundColorValue,
- FFColorValue? rotateButtonBackgroundColorValue,
- FFIconValue? stopButtonIconValue,
- FFIconValue? rotateButtonIconValue,
- FFIconValue? liveIconValue,
Implementation
factory FFMuxBroadcast({
FFDimensions? dimensions,
FFBorderRadius? borderRadius,
FFMuxBroadcast_FFMuxBroadcastResolution? broadcastResolution,
FFMuxBroadcast_FFMuxBroadcastAudioChannel? audioChannel,
FFText? liveText,
FFColor? legacyLiveTextBackgroundColor,
FFText? durationTextStyle,
FFColor? legacyDurationTextBackgroundColor,
FFButton? startButtonOptions,
FFIcon? legacyStopButtonIcon,
FFColor? legacyStopButtonBackgroundColor,
FFIcon? legacyRotateButtonIcon,
FFColor? legacyRotateButtonBackgroundColor,
$core.bool? isStreamingView,
FFIcon? legacyLiveIcon,
FFBorderRadius? liveContainerBorderRadius,
FFBorderRadius? durationContainerBorderRadius,
FFMuxBroadcast_FFMuxBroadcastLatencyMode? latencyMode,
FFColorValue? liveTextBackgroundColorValue,
FFColorValue? durationTextBackgroundColorValue,
FFColorValue? stopButtonBackgroundColorValue,
FFColorValue? rotateButtonBackgroundColorValue,
FFIconValue? stopButtonIconValue,
FFIconValue? rotateButtonIconValue,
FFIconValue? liveIconValue,
}) {
final result = create();
if (dimensions != null) result.dimensions = dimensions;
if (borderRadius != null) result.borderRadius = borderRadius;
if (broadcastResolution != null)
result.broadcastResolution = broadcastResolution;
if (audioChannel != null) result.audioChannel = audioChannel;
if (liveText != null) result.liveText = liveText;
if (legacyLiveTextBackgroundColor != null)
result.legacyLiveTextBackgroundColor = legacyLiveTextBackgroundColor;
if (durationTextStyle != null) result.durationTextStyle = durationTextStyle;
if (legacyDurationTextBackgroundColor != null)
result.legacyDurationTextBackgroundColor =
legacyDurationTextBackgroundColor;
if (startButtonOptions != null)
result.startButtonOptions = startButtonOptions;
if (legacyStopButtonIcon != null)
result.legacyStopButtonIcon = legacyStopButtonIcon;
if (legacyStopButtonBackgroundColor != null)
result.legacyStopButtonBackgroundColor = legacyStopButtonBackgroundColor;
if (legacyRotateButtonIcon != null)
result.legacyRotateButtonIcon = legacyRotateButtonIcon;
if (legacyRotateButtonBackgroundColor != null)
result.legacyRotateButtonBackgroundColor =
legacyRotateButtonBackgroundColor;
if (isStreamingView != null) result.isStreamingView = isStreamingView;
if (legacyLiveIcon != null) result.legacyLiveIcon = legacyLiveIcon;
if (liveContainerBorderRadius != null)
result.liveContainerBorderRadius = liveContainerBorderRadius;
if (durationContainerBorderRadius != null)
result.durationContainerBorderRadius = durationContainerBorderRadius;
if (latencyMode != null) result.latencyMode = latencyMode;
if (liveTextBackgroundColorValue != null)
result.liveTextBackgroundColorValue = liveTextBackgroundColorValue;
if (durationTextBackgroundColorValue != null)
result.durationTextBackgroundColorValue =
durationTextBackgroundColorValue;
if (stopButtonBackgroundColorValue != null)
result.stopButtonBackgroundColorValue = stopButtonBackgroundColorValue;
if (rotateButtonBackgroundColorValue != null)
result.rotateButtonBackgroundColorValue =
rotateButtonBackgroundColorValue;
if (stopButtonIconValue != null)
result.stopButtonIconValue = stopButtonIconValue;
if (rotateButtonIconValue != null)
result.rotateButtonIconValue = rotateButtonIconValue;
if (liveIconValue != null) result.liveIconValue = liveIconValue;
return result;
}