SubtitleConfig class
完整的字幕配置
Constructors
- SubtitleConfig({SubtitleStyleConfig styleConfig = const SubtitleStyleConfig(), bool enableAnimation = false, Duration animationDuration = const Duration(milliseconds: 300), Curve animationCurve = Curves.easeInOut})
-
const
Properties
- animationCurve → Curve
-
final
- animationDuration → Duration
-
final
- enableAnimation → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleConfig → SubtitleStyleConfig
-
final
Methods
-
copyWith(
{SubtitleStyleConfig? styleConfig, bool? enableAnimation, Duration? animationDuration, Curve? animationCurve}) → SubtitleConfig -
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