SubtitleOptions class

Settings that are persisted for the blur widget used in the player.

Constructors

SubtitleOptions({required int audioAllowance, required int subtitleDelay, required double fontSize, required String fontName, required double subtitleBackgroundOpacity, required String regexFilter, required double subtitleOutlineWidth, required double subtitleBackgroundBlurRadius, required bool alwaysAboveBottomBar})
Initialise this object.

Properties

alwaysAboveBottomBar bool
Whether or not the subtitle should always be above the bottom bar.
read / write
audioAllowance int
Audio allowance, used for audio export, in milliseconds.
read / write
fontName String
Name of the font preferred for the subtitle.
read / write
fontSize double
Subtitle font size.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
regexFilter String
Regex filter used for the subtitle.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subtitleBackgroundBlurRadius double
Subtitle background blur radius.
read / write
subtitleBackgroundOpacity double
Subtitle background opacity.
read / write
subtitleDelay int
Subtitle delay in milliseconds.
read / write
subtitleOutlineWidth double
Subtitle outline width.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited