build abstract method

Widget build(
  1. BuildContext context,
  2. Subtitle subtitle,
  3. SubtitleConfig config
)

根据字幕数据和配置构建字幕 Widget。

Builds a subtitle widget from the given subtitle data and configuration.

  • context 当前构建上下文。 The current build context.
  • subtitle 要渲染的字幕数据。 The subtitle data to render.
  • config 字幕配置,包含样式和动画设置。 The subtitle configuration including style and animation settings.

Implementation

Widget build(
  BuildContext context,
  Subtitle subtitle,
  SubtitleConfig config,
);