TextCaption constructor

const TextCaption({
  1. required int number,
  2. required Duration start,
  3. required Duration end,
  4. required String text,
  5. List<SubtitleAttribute?>? subtitleAttributes,
  6. TextStyle? textStyle,
  7. TextOriginAndExtent? textOriginAndExtent,
  8. AlignmentGeometry? textAlign,
  9. Color? windowBgColor,
  10. double? fontSize,
  11. Paint? fontForeground,
})

Creates a new TextCaption object.

Implementation

const TextCaption(
    {required super.number,
    required super.start,
    required super.end,
    required this.text,
    this.subtitleAttributes,
    this.textStyle,
    this.textOriginAndExtent,
    this.textAlign,
    this.windowBgColor,
    this.fontSize,
    this.fontForeground});