BetterPlayerSubtitlesConfiguration class Null safety

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

Constructors

BetterPlayerSubtitlesConfiguration({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. [...]
read-only, inherited
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.
read-only, inherited

Methods

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

Operators

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