VesperSubtitleStyle class final
Minimal subtitle styling shared by the stable mobile host kits.
Per-cue typography, animation, and layout remain platform- or content-specific concerns.
Constructors
- VesperSubtitleStyle({double fontScale = 1.0, bool visible = true})
-
const
-
VesperSubtitleStyle.fromMap(Map<
Object?, Object?> map) -
factory
Properties
- fontScale → double
-
Text scale factor relative to the platform default.
1.0keeps the platform default.final - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
Whether subtitle rendering is visible.
final
Methods
-
copyWith(
{double? fontScale, bool? visible}) → VesperSubtitleStyle - Convenience for disabling subtitles while keeping the scale.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override