updateSubtitleStyle method
更新字幕样式配置
Update the subtitle style configuration.
styleConfig
The subtitle style configuration to be updated
Implementation
void updateSubtitleStyle(SubtitleStyleConfig styleConfig) {
if (_widgetData == null) return;
final updateSubtitleConfig =
_widgetData!.subtitleConfig.copyWith(styleConfig: styleConfig);
_widgetData!.subtitleConfig = updateSubtitleConfig;
}