TextOverlayStyle constructor

const TextOverlayStyle({
  1. required String fontId,
  2. required Color color,
  3. TextAlign align = TextAlign.center,
  4. TextBackgroundStyle background = TextBackgroundStyle.none,
  5. 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,
});