SubtitleViewConfiguration class

SubtitleViewConfiguration

Configurable options for customizing the SubtitleView behaviour.

Constructors

SubtitleViewConfiguration({bool visible = true, TextStyle style = const TextStyle(height: 1.4, fontSize: 32.0, letterSpacing: 0.0, wordSpacing: 0.0, color: Color(0xffffffff), fontWeight: FontWeight.normal, backgroundColor: Color(0xaa000000)), TextAlign textAlign = TextAlign.center, double? textScaleFactor, EdgeInsets padding = const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 24.0)})
SubtitleViewConfiguration
const

Properties

hashCode int
The hash code for this object.
no setterinherited
padding EdgeInsets
The padding to be used for the subtitles.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle
The text style to be used for the subtitles.
final
textAlign TextAlign
The text alignment to be used for the subtitles.
final
textScaleFactor double?
The text scale factor to be used for the subtitles.
final
visible bool
Whether the subtitles should be visible or not.
final

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