TextOverlayStyle constructor
const
TextOverlayStyle({
- required String fontId,
- required Color color,
- TextAlign align = TextAlign.center,
- TextBackgroundStyle background = TextBackgroundStyle.none,
- double fontSize = defaultFontSize,
Creates a text style.
Implementation
const TextOverlayStyle({
required this.fontId,
required this.color,
this.align = TextAlign.center,
this.background = TextBackgroundStyle.none,
this.fontSize = defaultFontSize,
});