SubtitleViewConfiguration constructor
const
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
Configurable options for customizing the SubtitleView behaviour.
Implementation
const SubtitleViewConfiguration({
this.visible = true,
this.style = const TextStyle(
height: 1.4,
fontSize: 32.0,
letterSpacing: 0.0,
wordSpacing: 0.0,
color: Color(0xffffffff),
fontWeight: FontWeight.normal,
backgroundColor: Color(0xaa000000),
),
this.textAlign = TextAlign.center,
this.textScaleFactor,
this.padding = const EdgeInsets.fromLTRB(
16.0,
0.0,
16.0,
24.0,
),
});