PlayerKidSubtitlesConfiguration class

Configuration of subtitles - colors/padding/font. Used in BetterPlayerConfiguration.

Constructors

PlayerKidSubtitlesConfiguration({double fontSize = 14, Color fontColor = Colors.white, bool outlineEnabled = true, Color outlineColor = Colors.black, double outlineSize = 2.0, String fontFamily = "Roboto", double leftPadding = 8.0, double rightPadding = 8.0, double bottomPadding = 20.0, Alignment alignment = Alignment.center, Color backgroundColor = Colors.transparent})
const

Properties

alignment Alignment
Alignment of the subtitle
final
backgroundColor Color
Background color of the subtitle
final
bottomPadding double
Bottom padding of the subtitle
final
fontColor Color
Subtitle font color
final
fontFamily String
Font family of the subtitle
final
fontSize double
Subtitle font size
final
hashCode int
The hash code for this object.
no setterinherited
leftPadding double
Left padding of the subtitle
final
outlineColor Color
Color of the outline stroke
final
outlineEnabled bool
Enable outline (border) of the text
final
outlineSize double
Outline stroke size
final
rightPadding double
Right padding of the subtitle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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